Installing an SSL Certificate

Use this forum if you want to suggest a new feature to hMailServer. Before posting, please search the forum to confirm that it has not already been suggested.
Post Reply
User avatar
BroadwayLion
New user
New user
Posts: 19
Joined: 2011-01-14 21:55

Installing an SSL Certificate

Post by BroadwayLion » 2020-06-05 23:49

My certificate provider needs a Certificate Request generated by the mail server. I cannot see how to do this.
I am running version 5.6.6
Thanks Elizs

mikedibella
Senior user
Senior user
Posts: 837
Joined: 2016-12-08 02:21

Re: Installing an SSL Certificate

Post by mikedibella » 2020-06-06 00:10

You can create a CSR using Window's Certificate Manager (certmgr.msc > Personal > Certificates > Action > Advanced Operations > Create Custom Request...) but the private key will be stored in Windows format and you will need to import the certificate into the Windows certificate store to access the key, then export it in PFX format and use openssl.exe to convert it to a format (PEM) that HMS can use.

Alternatively, use this tool (https://www.digicert.com/easy-csr/openssl.htm) to generate the openssl command to create the CSR and key in PEM format in one step.

Post Reply