8-38

Catalyst 2960 Switch Software Configuration Guide

78-16881-01

Chapter 8      Configuring Switch-Based Authentication

Configuring the Switch for Secure Socket Layer HTTP

When a connection attempt is made, the HTTPS server provides a secure connection by issuing a 

certified X.509v3 certificate, obtained from a specified CA trustpoint, to the client. The client (usually 

a Web browser), in turn, has a public key that allows it to authenticate the certificate.

For secure HTTP connections, we highly recommend that you configure a CA trustpoint. If a CA 

trustpoint is not configured for the device running the HTTPS server, the server certifies itself and 

generates the needed RSA key pair. Because a self-certified (self-signed) certificate does not provide 

adequate security, the connecting client generates a notification that the certificate is self-certified, and 

the user has the opportunity to accept or reject the connection. This option is useful for internal network 

topologies (such as testing).

If you do not configure a CA trustpoint, when you enable a secure HTTP connection, either a temporary 

or a persistent self-signed certificate for the secure HTTP server (or client) is automatically generated. 

•

If the switch is not configured with a hostname and a domain name, a temporary self-signed 

certificate is generated. If the switch reboots, any temporary self-signed certificate is lost, and a new 

temporary new self-signed certificate is assigned. 

•

If the switch has been configured with a host and domain name, a persistent self-signed certificate 

is generated. This certificate remains active if you reboot the switch or if you disable the secure 

HTTP server so that it will be there the next time you re-enable a secure HTTP connection. 

If a self-signed certificate has been generated, this information is included in the output of the 

show 

running-config

 privileged EXEC command. This is a partial sample output from that command 

displaying a self-signed certificate.

Switch# 

show running-config

Building configuration...

<output truncated>

crypto pki trustpoint TP-self-signed-3080755072

 enrollment selfsigned

 subject-name cn=IOS-Self-Signed-Certificate-3080755072

 revocation-check none

 rsakeypair TP-self-signed-3080755072

!

!

crypto ca certificate chain TP-self-signed-3080755072

 certificate self-signed 01

  3082029F 30820208 A0030201 02020101 300D0609 2A864886 F70D0101 04050030

  59312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274

  69666963 6174652D 33303830 37353530 37323126 30240609 2A864886 F70D0109

  02161743 45322D33 3535302D 31332E73 756D6D30 342D3335 3530301E 170D3933

  30333031 30303030 35395A17 0D323030 31303130 30303030 305A3059 312F302D

<output truncated>

You can remove this self-signed certificate by disabling the secure HTTP server and entering the 

no 

crypto pki trustpoint TP-self-signed-30890755072

 global configuration command. If you later 

re-enable a secure HTTP server, a new self-signed certificate is generated.

Note

The values that follow 

TP self-signed

 depend on the serial number of the device.

You can use an optional command (

ip http secure-client-auth

) to allow the HTTPS server to request an 

X.509v3 certificate from the client. Authenticating the client provides more security than server 

authentication by itself.

For additional information on Certificate Authorities, see the “Configuring Certification Authority 

Interoperability” chapter in the 

Cisco IOS Security Configuration Guide, Release 12.2

. 

Page 166
Image 166
Open full-size image

2960 specifications

Cisco Systems 2960 series switches are a prominent solution in the networking landscape, known for their reliability, scalability, and feature-rich offerings. Ideal for small to medium-sized enterprises, these switches provide a robust foundation for network infrastructure, ensuring optimal performance and connectivity.

One of the standout features of the Cisco 2960 series is its Layer 2 switching capabilities. The switches support multiple VLANs (Virtual Local Area Networks), allowing network administrators to segment traffic efficiently and enhance security protocols. This is crucial in modern networks where managing traffic and isolating sensitive information is a priority.

The Cisco 2960 series also incorporates advanced Quality of Service (QoS) features, enabling the prioritization of critical applications and services. This functionality ensures that time-sensitive data, such as voice and video traffic, maintains a high quality of service even in congested networks. With support for IEEE 802.1p and DSCP marking, administrators can fine-tune their network performance to meet specific organizational needs.

Power over Ethernet (PoE) is another significant characteristic of the Cisco 2960 series. This feature allows switches to deliver electrical power alongside data over Ethernet cables to devices such as IP phones, wireless access points, and surveillance cameras. With PoE, organizations can reduce clutter from power cables and increase deployment flexibility for various devices.

In terms of security, the Cisco 2960 series is equipped with a range of integrated security features. The switch supports port security, 802.1X authentication, and Access Control Lists (ACLs), providing robust defenses against unauthorized access and potential network vulnerabilities. These security measures are essential for protecting sensitive data and ensuring compliance with industry regulations.

Moreover, the Cisco 2960 series offers enhanced network management capabilities with Cisco's Intelligent Network Services. This includes support for Simple Network Management Protocol (SNMP), Cisco Prime, and Embedded Event Manager (EEM), allowing for efficient monitoring, troubleshooting, and policy enforcement across the network.

Additionally, the Cisco 2960 switches provide various models and configurations, catering to different networking needs. Options include models with varying port densities, uplink configurations, and stacking capabilities, making it easy for organizations to choose solutions that align perfectly with their requirements.

In summary, the Cisco 2960 series is a versatile and essential component of modern networking environments. Its advanced features, including Layer 2 support, QoS, PoE, robust security, and diverse management tools, make it an excellent choice for organizations looking to build a strong and secure network infrastructure.