ip https certificate
The ip https certificate Global Configuration mode command configures the active certificate for
HTTPS. Use the no form of this command to return to default.
Syntax
•
ip https certificate number
•
no ip https certificate
•
number — Specifies the certificate number. (Range: 1 - 2)
Default Configuration
Certificate number 1.
Command Mode
Global Configuration mode.
User Guidelines
•
The crypto certificate generate command should be used in order to generate HTTPS certificates.
Example
The following example configures the active certificate for HTTPS.
Console (config)# ip https certificate 1
crypto certificate import pkcs12
The crypto certificate import pkcs12 Privileged EXEC mode command, imports the certificate and the
RSA keys within a PKCS12 file.
Syntax
•
crypto certificate number import pkcs12 passphrase
•
number — Specifies the certificate number. (Range: 1 - 2)
•
passphrase — Passphrase that is used to encrypt the PKCS12 file for export. (Range: 8 - 96)
Default Configuration
There is no default configuration for this command.
Command Mode
Privileged EXEC mode.
User Guidelines
•
The passphrase that was exported by the crypto certificate export pkcs12 command should be used.
Please note that this passphrase would be saved for later exports.
485
Web Server