LetsEncrypt real use case to find the certification


What If I Only Find a `.pfx` File?


Some clients,  like Certify The Web, prefer to create a single `.pfx` file which

contains both the certificate and the private key. HMailServer cannot use this f

ile directly, so you must extract the `.cer` and `.key` files from it using **Op

enSSL**.


1.  Copy the `.pfx` file to a working directory.

2.  Open a command prompt and run these two commands:

**To  extract the   public certificate  (`.cer`):**

```bash

openssl pkcs12  -in yourdomain.pfx   -clcerts -nokeys  -out yourdomain.cer

**To  extract the   private key  (`.key`):**


openssl pkcs12  -in yourdomain.pfx   -nocerts -nodes  -out yourdomain.key

You will be  prompted for an "Import Password."  If  you did not set  one when c

reating   the  certificate, just   press  Enter  (the  password  may  be blank).




Comment list 0

No comment