cPanel: Export PFX

Export PFX

Steps to Follow:

1. Access cPanel and SSL/TLS Manager:

  • Log in to your cPanel account.

  • Navigate to the "SSL/TLS" section under the Security section.

  • Click on "Manage SSL Sites".

2. Locate and Copy Certificate and Private Key:

  • Choose the domain for which you want to export the SSL certificate.

  • Select "Autofill by Domain".

  • Copy the certificate text and paste it into a text editor (like Notepad).

  • Save this file with a .crt extension (e.g., mywebsite.crt).

  • Copy the private key text and paste it into another text editor.

  • Save this file with a .key extension (e.g., myprivate.key).

3. Use OpenSSL to Create the .pfx File:

  • Open a terminal or command prompt with root access.

  • Navigate to the directory where you saved the .crt and .key files.

  • Use the following OpenSSL command to create the .pfx file:

openssl pkcs12 -export -out domain_name.pfx -inkey domain_name.key -in domain_name.crt
  • You will be prompted to enter a password for the .pfx file.

  • Confirm the password.

Last updated

Was this helpful?