TP-Link TL-SG5428 Switch User Manual


 
97
Chapter 19 SSL Commands
SSLSecure Sockets Layer, a security protocol, is to provide a secure connection for the
application layer protocol(e.g. HTTP) based on TCP. Adopting asymmetrical encryption technology,
SSL uses key pair to encrypt/decrypt information. A key pair refers to a public key (contained in the
certificate) and its corresponding private key. By default the switch has a certificate (self-signed
certificate) and a corresponding private key. The Certificate/Key Download function enables the
user to replace the default key pair.
ssl enable
Description
The ssl enable command is used to enable the SSL function on the switch. To
disable the SSL function, please use no ssl enable command. Only the SSL
function is enabled, a secure HTTPS connection can be established.
Syntax
ssl enable
no ssl enable
Command Mode
Global Configuration Mode
Example
Enable the SSL function:
TP-LINK(config)# ssl enable
ssl download certificate
Description
The ssl download certificate command is used to download a certificate to the
switch from TFTP server.
Syntax
ssl download certificate ssl-cert ip-address ip-addr
Parameter
ssl-cert —— The name of the SSL certificate which is selected to download to
the switch . The length of the name ranges from 1 to 25 characters. The
Certificate must be BASE64 encoded.