cPanel: Export PFX
Export PFX
To export an SSL certificate as a .pfx file from cPanel, you'll need to access the cPanel SSL/TLS Manager, locate the certificate, and then use the "Manage SSL Sites" feature to copy the certificate and private key, saving them as separate files, and then use OpenSSL to combine them into a .pfx file.
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:
You will be prompted to enter a password for the .pfx file.
Confirm the password.
Last updated
Was this helpful?