Overview of Web System Login
Definition
The web system is a GUI-based device-management tool that helps provision the device, simplify device deployment and manageability, and improve user experience. You can use the Web system to build configurations, and monitor and troubleshoot the device without having CLI expertise.
Purpose
You can manage a switch through a web system or a CLI. The CLI enables you to implement fine-grained device management through commands. However, you must be familiar with the command syntax and understand how the CLI operates. The web system provides only basic routine maintenance and management functions. You can use the CLI or web system according to your management requirements.
To use the CLI, you must log in to the switch through a console port or using Telnet or STelnet. To use the web system, you must log in to the switch through HTTPS.
For details about how to log in to a switch through a console port or using Telnet or STelnet, see CLI Login Configuration.
Concepts of Web System Login
HTTP
Hypertext Transfer Protocol (HTTP) is used to transfer web page files over the Internet. It runs at the application layer of the TCP/IP protocol stack. The transport layer uses the connection-oriented TCP protocol. Due to the security vulnerability of HTTP, devices only allow you to log in to the web system through the more secure Hypertext Transfer Protocol Secure (HTTPS).
HTTPS
HTTPS uses secure sockets layer (SSL) to encrypt data exchanged between the client and device and defines access control policies based on certificate attributes. HTTPS enhances data integrity and transmission security, ensuring that only authorized clients can log in to the device.
SSL policy
An SSL policy defines parameters that the device uses during startup. Before HTTPS configuration, the SSL policy needs to be deployed and the corresponding digital certificate is loaded on the device. The SSL policy takes effect only after it is applied to application layer protocols, such as HTTP.
Digital certificate
A digital certificate is issued by a certificate authority (CA) and uses a digital signature to bind a public key with an identity (applicant who possesses the certificate). The digital certificate includes information such as the applicant name, public key, digital signature of the CA, and validity period of the digital certificate. Digital certificates validate the identities of two communicating parties to improve communication reliability.
The device supports certificates in PEM, ASN1, and PFX formats. Certificates have the same content regardless of format.
- The PEM (.pem) digital certificate is commonly used. It is used for text transmission between systems.
- The ASN1 (.der) format is a universal digital certificate format. This is the default format for most browsers.
- The PFX (.pfx) format is a universal digital certificate format. This is a binary format that can be converted into PEM or ASN1 format.
CA
A CA issues, manages, and revokes digital certificates by checking the validity of digital certificate owners, issuing digital certificates to prevent eavesdropping and tampering, and managing keys. A worldwide trusted CA is called a root CA. The root CA can authorize other CAs as subordinate CAs. CA identity needs to be verified and is described in a trusted-CA file.
For example, CA1 is a root CA. It issues a certificate for CA2, which can then issue a certificate for CA3. This process continues until the final server certificate is issued.
Assume that CA3 issues the server certificate. A certificate authentication process on the client starts from server certificate authentication:- The client first verifies the validity of the server certificate based on the CA3 certificate.
- The client then checks the CA2 certificate to verify the validity of the CA3 certificate.
- The client then checks the CA1 certificate to verify the validity of the CA2 certificate.
- The server certificate passes the authentication only if the CA2 certificate is verified as being valid according to the CA1 certificate.
Figure 6-1 shows the certificate issuing and authentication processes.
Certificate Revocation List (CRL)
A CRL is issued by a CA and specifies a list of certificates that have been revoked.
Each digital certificate has a limited lifetime and a CA can revoke a digital certificate to shorten its lifetime. The validity period of a certificate specified in the CRL is shorter than the original validity period of the certificate. If a CA revokes a digital certificate, the key pair defined in the certificate can no longer be used even if the digital certificate has not expired. When a certificate expires, it is deleted from the CRL.