IOS and ASA use the same trustpoint model for storing certificates in the configuration. A trustpoint just a container in which certificates are stored. A trust point can hold up to two certificates.
An identity certificate (a certificate that the router owns the corresponding private key)
A certificate authority certificate (a certificate that is signed by another party. The router doesn't own the matching private key)
Once a certificate has been generated and installed into a device it is possible to export the whole certificate chain and private key pair for storage in a secure location. It is important to backup up identity certificates in case of device failure. In a case where you have control over the certificate authority it is trivial to issue another certificate but in cases where there are financial costs (i.e. a certificate issued from Verisign, Thawte, GoDaddy, etc) to reissue another certificate it may be beneficial to import the backed up certificate into the new device.
To backup a certificate via the command line do the following, where TrustPoint1 is the trust point name and cisco123 is the password used to encrypt the output:
ciscoASA(config)# crypto ca export TrustPoint1 pkcs12 cisco123
This will output a long text string. That is a base64 encoded pkcs12. A pkcs12 is a standardized container that carries the identity certificate, it's matching private key, and all the remaining certificates within the chain. Below is an example of the output you should see
ciscoASA(config)# crypto ca import TrustPoint2 pkcs12 cisco123
<paste in the base64 encoded pkcs12>
You can verify the installation by issuing the command "show crypto ca certificates"
RSA keys are stored in the flash in a hidden partition that can not be accessed. On IOS at time of RSA key generation the exportable keyword must be specified. Otherwise the router will be unable to export the key, making the pkcs12 export fail. ASA RSA keys are always exportable and do not have this limitation.
Hi,we use EAP-TLS for machine and user auth. When certificates are installed, everything is fine. I am testing the scenario when the e.g. User certificate is not present. Anyconnect shows the warning that there is no certificate (dot1x fails) but network ...
Hello TogetherPlease i will open for LAN "Inside" the SSH Port. try with this commands but no postive result appair "Connection redused"i know iam on the right way, please and thanks for any Update:asa(config)# crypto key generate rsa general-keys modulus...
Hi all !I'm capturing Audit logs from FMC using tcpdump, but unfortunately I do not see any access policy changes in the logs : \I do get other logs like saving the configs etc, but when I edit the policy and add/remove/edit a rule , I get nothing on the ...
I am about to uprade two FTD 4110 FXOS. The first upgrade has been succeced on the Secondary and then I tried do run the same steps on the primery FTD. I has been runing upgrade in more than 2 hours on the primery FTD now and I am soure that some thing is...
Hello Community I'm following the doc https://www.cisco.com/c/dam/en/us/td/docs/security/content_security/virtual_appliances/Cisco_Content_Security_Virtual_Appliance_Install_Guide.pdf we have 3 interfaces for the virtual appliance. During c...