Cyberflood: Avalanche: Can I convert a P12 certificate into PEM format in order to use it in Avalanche or Cyberflood Controller?

Knowledge Base - FAQ

Cyberflood: Avalanche: Can I convert a P12 certificate into PEM format in order to use it in Avalanche or Cyberflood Controller?
• Yes. Per FAQ11506 Avalanche only supports certificates in PEM format. If your retrieve a certificate from your IPsec gateway in P12 format you need to use OpenSSL (http://www.openssl.org/) in order to convert it to the supported PEM format. • If you want to see the format for a .PEM certificate you can also use the KB Article (FAQ11506) • Also if you want to get some .PEM Certificate examples, you can use any of the following KB Articles: (FAQ14808), (FAQ16309), (FAQ11540), (SOL13813) Process to CONVERT a .p12 certificate into a .pem certificate (key part + certificate part) into a single file: • How to extract public/private keys from PKCS12 (p12) format certificate? • Background: P12 format certificate consists of two parts: the normal certificate (the signed public key) and the private key (usually encrypted). • Extract cert only: openssl pkcs12 -in cert2.p12 -out cert2.pem –nokeys (need to input the passwd) • Extract private key only: openssl pkcs12 -in cert2.p12 -out cert2_key.pem –nocerts (need to input the password) • Extract both cert and private key into single pem file: openssl pkcs12 -in cert2.p12 -out cert2.pem (need to input the password)