# How to Install a .PFX SSL Certificate in cPanel Hosting

<div id="bkmrk-by-default%2C-pkcs-%23-1"><section class="wpb-content-wrapper">By default, PKCS # 12 / PFX is used in the Microsoft® Windows environment. On UNIX-based machines, you can also install .pfx extensions, but the .pfx extension must be converted before installing Apache as PEM format (.pem, .crt, .cer, and .key).

### CONVERT USING EXTERNAL WEBSITE

Conversion can be done on the following website:

[https://www.sslshopper.com/ssl-converter.html](https://www.sslshopper.com/ssl-converter.html "https://www.sslshopper.com/ssl-converter.html")

If you do not want to convert via the webpage, you can also use command line conversion based on the following command pattern:

### CONVERT USING LINUX:

```
openssl pkcs12 in certificate.pfx -out certificate.cer -nodes
```

### CONVERT USING WINDOWS:

It is necessary to install the OpenSSL library which can be obtained from the following page:

[http://slproweb.com/products/Win32OpenSSL.html](https://slproweb.com/products/Win32OpenSSL.html "http://slproweb.com/products/Win32OpenSSL.html")

After the installation, the conversion from the Windows command line can be done based on the following pattern:

```
cd C: \ Program Files \ OpenSSL-Win64 \ bin
openssl pkcs12 in d: \ Temp \ cert.pfx -out d: \ Temp \ cert.pem -nodes
```

After the conversion, the certificate will be a single file, the private key, so the resulting file should be opened with a word processor and the certificate and CACert must be inserted from the cPanel interface.

The certificate on the cPanel interface can be downloaded from the **SSL/TLS** menu under the **Certificates (CRT)** submenu.

</section></div><div id="bkmrk-"></div>