Configuring the Switch for Secure Socket Layer HTTP
Command
Step 11
crypto ca authentication name
Step 12
crypto ca enroll name
Step 13
end
Step 14
show crypto ca trustpoints
Step 15
copy running-config startup-config
Use the no crypto ca trustpoint name global configuration command to delete all identity information
and certificates associated with the CA.
Configuring the Secure HTTP Server
If you are using a certificate authority for certification, you should use the previous procedure to
configure the CA trustpoint on the switch before enabling the HTTP server. If you have not configured
a CA trustpoint, a self-signed certificate is generated the first time that you enable the secure HTTP
server. After you have configured the server, you can configure options (path, access list to apply,
maximum number of connections, or timeout policy) that apply to both standard and secure HTTP
servers.
Beginning in privileged EXEC mode, follow these steps to configure a secure HTTP server:
Command
Step 1
show ip http server status
Step 2
configure terminal
Step 3
ip http secure-server
Step 4
ip http secure-port port-number
Step 5
ip http secure-ciphersuite
{[3des-ede-cbc-sha] [rc4-128-md5]
[rc4-128-sha] [des-cbc-sha]}
Step 6
ip http secure-client-auth
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
9-50
Purpose
Authenticate the CA by getting the public key of the CA. Use the same
name used in Step 5.
Obtain the certificate from the specified CA trustpoint. This command
requests a signed certificate for each RSA key pair.
Return to privileged EXEC mode.
Verify the configuration.
(Optional) Save your entries in the configuration file.
Purpose
(Optional) Display the status of the HTTP server to determine if the secure
HTTP server feature is supported in the software. You should see one of
these lines in the output:
HTTP secure server capability: Present
or
HTTP secure server capability: Not present
Enter global configuration mode.
Enable the HTTPS server if it has been disabled. The HTTPS server is
enabled by default.
(Optional) Specify the port number to be used for the HTTPS server. The
default port number is 443. Valid options are 443 or any number in the
range 1025 to 65535.
(Optional) Specify the CipherSuites (encryption algorithms) to be used
for encryption over the HTTPS connection. If you do not have a reason to
specify a particularly CipherSuite, you should allow the server and client
to negotiate a CipherSuite that they both support. This is the default.
(Optional) Configure the HTTP server to request an X.509v3 certificate
from the client for authentication during the connection process. The
default is for the client to request a certificate from the server, but the
server does not attempt to authenticate the client.
Chapter 9
Configuring Switch-Based Authentication
OL-26520-01