This document describes how to add/import new Public Key Cryptography Standards (PKCS) #12 certificates on the Cisco Email Security Appliance (ESA) GUI.
Cisco recommends that you have knowledge of these topics:
Since AsyncOS 7.1.0. and later, it is possible to manage/add certificates in the GUI of the email appliances. However, for this the new certificate, it has to be in PKCS#12 format, so this requirement adds some extra steps after receiving the Certificate Authority (CA) certificate.
Generating a PKCS#12 certificate also requires the Private Key Certificate. If you run the Certificate Signing Request (CSR) from Cisco ESA CLI command certconfig, you will not receive the Private Key Certificate. The Private Key Certificate created in the GUI menu (Mail Policies > Signing Keys) will not be valid when you use it to generate a PKCS#12 certificate together with CA certificate.
Ensure that Visual C++ 2008 Redistributables is installed before the OpenSSL Win32.
The script will look like this:
openssl req -new -newkey rsa:2048 -nodes -out test_example.csr -keyout test_example.key -subj "/C=AU/ST=NSW/L=Sydney/O=Cisco Systems/OU=IronPort/CN=test.example.com"
C:\OpenSSL-Win32\bin>openssl req -new -newkey rsa:2048 -nodes -out test_example.csr -keyout
test_example.key -subj "/C=AU/ST=NSW/L=Sydney/O=Cisco Systems/OU=IronPort/CN=test.example.com"
Output:
test_example.csr and test_example.key in the C:\OpenSSL-Win32\bin or in the
'bin' folder where OpenSSL is installed
test_example.csr = Certificate Signing Request
example.key = private key
cacert.pem = CA certificate
test_example.pem = private key
Export password: ironport
cacert.p12 (the PKCS#12 certificate)
Select Add Certificate.
Select Import Certificate in the Add Certificate option.
Select Choose and browse to the location of the PKCS#12 certificate generated in Step 5.
Enter the same password that you used used when you generated the PKCS#12 certificate in the OpenSSL (in this case the password is ironport).
Select Next and the next screen will display the attributes details used for the certificate.
Select Submit.
Select Commit changes.
After these steps, the new certificate is added to the certificates list and can be assigned for use.