Search

GlobalSCAPE Knowledge Base

Convert a Non-Apache Certificate to Use with GlobalSCAPE Mail Express

Mail Express - DEPRECATED

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

  1. Start > Run
  2. Type MMC and click OK.
  3. Go into the Console Tab (or File) and select Add/Remove Snap-in.
  4. Click Add and double-click on Certificates and click Add, then click OK.
  5. Select Computer Account and click Next
  6. Select Local Computer and click Finish.
  7. Click OK.
  8. Double-click Certificates to expand the Certificates Console Tree.
  9. Double-click Personal.
  10. Double-click Certificates.
  11. Right-click your domain certificate file and choose ALL TASKS > Export.
  12. In the wizard, check the box to include the private key and continue until you have a .PFX file.
  13. Copy the PFX file to a system that has OpenSSL installed on it.
  14. Export the private key from the PFX file:
    C:\OpenSSL\bin\openssl pkcs12 –in name.pfx –nocerts –out name.key.pem
  15. Remove the passphrase from the C:\OpenSSL\bin\openssl rsa –in name.key.pem –out name.key
  16. Fix the KEY file to be Apache compliant.
    1. Open the KEY file in WordPad.
    2. Remove anything before the line
      “-----BEGIN RSA PRIVATE KEY-----“
    3. Remove anything after the line
      “-----END RSA PRIVATE KEY-----“
    4. Save the file and close WordPad.
  17. Export the certificate file from the PFX file:
    C:\OpenSSL\bin\openssl pkcs12 –in name.pfx –clcerts –nokeys –out name.cert.pem
  18. Fix the CERT.PEM file to be Apache compliant as follows:
    1. Open the CERT.PEM file in WordPad.
    2. Remove anything before the line
      “-----BEGIN CERTIFICATE-----“
    3. Remove anything after the line
      “-----END CERTIFICATE-----“
    4. Click File > Save As.
    5. Select Unicode Text Document (.txt) from the drop-down for Save as type.
    6. Change the name of the file to be name.crt.
    7. Close WordPad.
Details
Last Modified: 12 Years Ago
Last Modified By: RContreras
Type: HOWTO
Article not rated yet.
Article has been viewed 4.3K times.
Options
Also In This Category