THE INFORMATION IN THIS ARTICLE APPLIES TO:
- Mail Express, all versions
DISCUSSION
How to Convert a Non-Apache Certificate to Use with GlobalSCAPE Mail Express
- Start > Run
- Type MMC and click OK.
- Go into the Console Tab (or File) and select Add/Remove Snap-in.
- Click Add and double-click on Certificates and click Add, then click OK.
- Select Computer Account and click Next
- Select Local Computer and click Finish.
- Click OK.
- Double-click Certificates to expand the Certificates Console Tree.
- Double-click Personal.
- Double-click Certificates.
- Right-click your domain certificate file and choose ALL TASKS > Export.
- In the wizard, check the box to include the private key and continue until you have a .PFX file.
- Copy the PFX file to a system that has OpenSSL installed on it.
- Export the private key from the PFX file:
C:\OpenSSL\bin\openssl pkcs12 –in name.pfx –nocerts –out name.key.pem
- Remove the passphrase from the C:\OpenSSL\bin\openssl rsa –in name.key.pem –out name.key
- Fix the KEY file to be Apache compliant.
- Open the KEY file in WordPad.
- Remove anything before the line
“-----BEGIN RSA PRIVATE KEY-----“
- Remove anything after the line
“-----END RSA PRIVATE KEY-----“
- Save the file and close WordPad.
- Export the certificate file from the PFX file:
C:\OpenSSL\bin\openssl pkcs12 –in name.pfx –clcerts –nokeys –out name.cert.pem
- Fix the CERT.PEM file to be Apache compliant as follows:
- Open the CERT.PEM file in WordPad.
- Remove anything before the line
“-----BEGIN CERTIFICATE-----“
- Remove anything after the line
“-----END CERTIFICATE-----“
- Click File > Save As.
- Select Unicode Text Document (.txt) from the drop-down for Save as type.
- Change the name of the file to be name.crt.
- Close WordPad.