× SSL247 joins forces with Sectigo CA - Find Out More...
Our accreditations and awards:
Cookies
0 items Total $0

Knowledge Base

  

Export/Import a SSL certificate with Apache/OpenSSL

Export your SSL certificate

To export your SSL certificate with Apache, you must combine your SSL certificate, the intermediate certificate and your private key in a backup file .pfx.

Run the following command:

openssl pkcs12 -export -out SSL247Backup.pfx -inkey yourprivatekey.txt -in yourSSLcertificate.crt -certfile intermediate.crt

Adapt the command with yourprivatekey.txt (the path to your private key file), yourSSLcertificate.crt (the path to your SSL certificate) and intermediate.crt (the path to your intermediate certificate).

Import your SSL certificate

Once you have your .pfx file, run the following command to get the private key file:

openssl pkcs12 -in SSL247Backup.pfx -out privatekey.txt -nodes

Open the privatekey.txt file and save its content to a .key file. You can now follow our SSL certificate installation instructions.


Was this information Useful?
Comments

Privacy Policy