DOWNLOAD:
ftp://ftp.handymail.ch/pub/hmailserver/ ... 0_9_8j.zip
CONTENTS:
- The official OpenSSL version for Windows
- VC2008 redistributables (if needed)
- MakeHMScert.bat (to generate the files)
INSTRUCTIONS:
1. Install the contained VC2008 redistributeable to make sure that OpenSSL will install smoothly.
2. Install the contained version of OpenSSL. I'd suggest that you install the into "C:\OpenSSL"
3. Copy MakeHMScert.bat into the C:\OpenSSL\bin directory
4. Open a Command-Prompt in Windows and change to C:\OpenSSL\bin
5. Enter the following command in order to generate the SSL files for the host "imap.mydomain.test":
Code: Select all
MakeHMScert imap.mydomain.test
7. Once you finshed the process, move out to specific folders, accessible to HMS, the following files:
imap.mydomain.test.crt
imap.mydomain.test.csr
imap.mydomain.test.key
imap.mydomain.test.der
8. Delete the file imap.mydomain.test.key.org
When setting up HMS hostnames for SSL, you may now choose those files.
Key-Type:
This actually generates 1024-Bit RSA keys with an expiration of 3000 days. If other values are required, you may change them in the MakeHMScert.bat at your needs.
IMPORTANT NOTE:
Some applications to not allow users to trust self-signed certificates. This applies for many mobile devices, i.e. mobile phones. In such cases, you will have to get the x509-certificates (with the extension ".der") onto those devices. Also some PC-ppplications keep complaining about the trustworthiness of the connected host. You wou ill then need to install those certificates in such systems as well.
NOTE FOR MOBILE DEVICES:
In case you have difficulties to get the ".der" certficate onto the device:
1. Place those files into a publicly available directory on your Webserver (ex. "cert").
2. Add the following Mime-Type to your Webserver:
Code: Select all
application/x-x509-ca-cert
Code: Select all
AddType application/x-x509-ca-cert .der
4. Point your mobile device to the URL (following above example):
Code: Select all
http://www.mywebserver.dom/cert/imap.mydomain.test.der