Extracting a certificate and key from a PFX or PKCS#12 keystore

Last Updated : Apr 19, 2019 |
Prolog information
If you have a third-party or non Avaya certificate and key that is in the PKCS#12 format (.p12 or .pfx), use the following procedure to extract the certificate and key.
Note:
PKCS#12 was formerly known as PFX.
  1. Copy the keystore file to the /home/ipcs/ directory on Avaya SBC.
  2. To extract the certificate from the keystore file, type openssl pkcs12 -in filename.pfx -out filename.crt -nokeys –clcerts, where filename is the name of the certificate file.
  3. To extract the key from the keystore file, type openssl pkcs12 -in filename -out filename.key -nocerts
Next steps
After you complete the extraction procedure, install the certificate.