cPanel: How to install SSL with PFX file

If you wish to install exported SSL with .pfx file to your cPanel server. You may refer to the following step.

Assume, you have a file named domain.pfx.

1. Export the key file,

openssl pkcs12 -in domain.pfx -nocerts -out domain.key

2. Export the decrypted key file,

openssl rsa -in domain.key -out domain.decrypted.key

3. Export the Certificate, crt file,

 openssl pkcs12 -in domain.pfx -clcerts -nokeys -out domain.crt

4. Export the Ca Bundle file,

openssl pkcs12 -in domain.pfx -cacerts -nokeys -out cabundle.pem

5. You may now install your SSL through WHM.

Install SSL through Shell

Today, I’m about to guide you how to install the SSL key and it will a bit tricky compare to generate the SSL CSR key.

To install the SSL key through Shell, refer to the step as below.
1. Go to path /usr/share/ssl/certs.
$ [email protected][/]# cd /usr/share/ssl/certs
2. Check if the and existed, else create them and enter the code.
3. Go to path /usr/share/ssl/private.
$ [email protected][/]# cd /usr/share/ssl/private Continue reading Install SSL through Shell

Create SSL certificate in Shell

SSL certificate is one of the digital encryption with full name of Secure Sockets Layer.

Many webmaster use SSL to encrypt their important information such as payment information, etc.

Before you proceed to create the CSR key for SSL, you need the information as below.

  • Domain name of Certificate
  • Country Code
  • State
  • City
  • Company Name
  • Company Division
  • Email Address of the Certificate
  • Password for the certificate

Run the following command from Shell. Continue reading Create SSL certificate in Shell