Configuring The Secure Http Server - Cisco WS-C2960-24LC-S Software Configuration Manual

Software guide
Table of Contents

Advertisement

Chapter 8
Configuring Switch-Based Authentication
Command
Step 7
enrollment http-proxy host-name
port-number
Step 8
crl query url
Step 9
primary
Step 10
exit
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
OL-8603-04
Purpose
(Optional) Configure the switch to obtain certificates from the CA
through an HTTP proxy server.
Configure the switch to request a certificate revocation list (CRL) to
ensure that the certificate of the peer has not been revoked.
(Optional) Specify that the trustpoint should be used as the primary
(default) trustpoint for CA requests.
Exit CA trustpoint configuration mode and return to global configuration
mode.
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.
Catalyst 2960 Switch Software Configuration Guide
Configuring the Switch for Secure Socket Layer HTTP
8-41

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c2960s-24td-lWs-c2960s-48lpd-lCatalyst 2960

Table of Contents