Export an Identity Certificate
You can export and import the keypair and issued certificates associated with a trustpoint in PKCS12 or PEM format. This format is useful to manually duplicate a trustpoint configuration on a different ASA.
Procedure
1 |
In the navigation menu, click . |
2 |
Click the Devices tab. |
3 |
Click the ASA. |
4 |
Select the ASA device and in the Management on the right, click Trustpoints. |
5 |
Click the identity certificate to export the certificate configuration. Alternatively, you can search for the certificate by entering its name in the search field. |
6 |
In the Actions pane on the right, click Export Certificate. |
7 |
Choose the certificate format by clicking the PKCS12 Format or the PEM Format. |
8 |
Enter the encryption passphrase used to encrypt the PKCS12 file for export. |
9 |
Confirm the encryption passphrase. |
10 |
Click Export to export the certificate configuration. An information dialog box appears, informing you that the certificate configuration file has been successfully exported to the location that you specified. |
What to do next
-
To decode certificate in base64 format:
openssl base64 -d -in <file_name>.p12 -out <file_name>_b64.p12
-
To view certificate:
openssl pkcs12 -in <file_name>_b64.p12 -passin pass:<password>