Procedure 1 - Configure The HTTP Server On The Switch

Step 1
Set the DNS domain name on the switch.

Cisco IOS® Software does not allow for certificates, or even self-generated keys, to be created and installed without first defining a DNS domain name on the device. Enter the following:

  • C3750X(config)#ip domain-name domain_name
Step 2
Generate keys to be used for HTTPS by entering the following:

  • C3750X(config)#crypto key generate rsa general-keys mod 2048
Step 3
Enable the HTTP servers on the switch.

The HTTP server must be enabled on the switch to perform the HTTP / HTTPS capture and redirection. Enter the following:

  • C3750X(config)#ip http server
  • C3750X(config)C3750X(config)#ip http secure-server