How To Setup hMailServer To Use a SSL Certificate
August 17, 2010
I am adding IMAP support to one of our products. Likely more that one person out there a needed to do this, so enjoy. I’ll take you from creating an SSL certificate to configuring hMailServer to work with both secure and regular connections to testing your setup. Creating a Self Signed SSL Certificate First things first you’ll need to download OpenSSL. I downloaded the 64bit 1.0 light version which required Visual C++ 2008 Redistributables (x64) to be installed first. I told the installer to put OpenSSL in my c:utilites folder. Create a Key Next up you’ll need to create a key. I recommend you replace <host> with your machine name. >openssl genrsa -out <host>.key 1024 Certificate Request Now you need to create a certificate request. This is the file you normally send…