Imports a TLS server certificate and a private key in PKCS12 format.
Note
As a best practice, do not list the password in the command line for security purposes. The user is prompted for the password.Exec mode
Use this command to import a TLS server certificate and private key (in PKCS12 format) to a device and establish a secure connection.
The no
form of the command
removes the installed PKCS-format files.
The following example specifies HTTPS authentication and SCP for the certificate file ngnpb.pkcs.
device# crypto import-pkcs protocol scp type https host 10.24.12.111 user testuser password password file ngnpb.pkcs pkcspassphrase passphrase HTTPS server certificate imported. Installing https certificate will result in a momentary delay and may affect active CLI connections - please be patient. Successfully imported file: ngnpb.pkcs
The following example removes the installed PKCS-format files.
device# no crypto import-pkcs type https