THE INFORMATION IN THIS ARTICLE APPLIES TO:
- Mail Express, all versions
DISCUSSION
How to Generate a Self-Signed Certificate to Use with GlobalSCAPE Mail Express
- Acquire OpenSSL by going to http://www.slproweb.com/products/Win32OpenSSL.html and downloading the following:
- Win32 - Win32 OpenSSL v1.0.0(x) Light ? “x” should be the most recent version
- Win32 - Visual C++ 2008 Redistributables
OR
- Win64 - Win64 OpenSSL v1.0.0(x) Light ? “x” should be the most recent version
- Win64 - Visual C++ 2008 Redistributables (x64)
- Install the appropriate package from 1.b above
- Install the appropriate package from 1.a above
- Navigate into the bin subdirectory of the OpenSSL directory (or add it to your Windows Path so it is recognized)
- Run the following sets of commands:
openssl genrsa –des3 –out keyname.key 2048
This will require entering the passphrase for the key twice.
openssl req -new -key keyname.key -out csrname.csr -subj "/C=country/ST=state/L=city/O=organization/OU=department/CN=fullyqualified.dnsname.net"
This will require entering the passphrase once.
openssl x509 -req -days 365 -in csrname.csr -signkey keyname.key -out certname.crt
This will require entering the passphrase once.
Run the following command if you want to remove the passphrase from the key:
openssl rsa –in keyname.key –out keynameclear.key