SSL Certificates

The majority of browsers will issue a warning to users when navigating to a site that uses a self-signed certificate. Typically this behavior is undesirable. As such it is highly recommended that the Mail Express Server be configured to use an alternate public key/private key pair that has been signed by a trusted Certificate Authority. Mail Express also supports certificate chaining.

When you upload your own certificate/key pair those files are overwritten; however, copies of the default files are saved as MailExpressDefault.crt and MailExpressDefault.key in case you need to go back to the defaults.

Specifying an SSL Certificate

A self-signed certificate contains a public key, information about the owner of the certificate, and the owner's signature. It has an associated private key, but it does not verify the origin of the certificate through a third-party certificate authority. To achieve the highest level of authentication between critical software components, do not use self-signed certificates, or use them selectively.

The files associated with an SSL certificate key pair are:

Private key file (.key) - The private key should never be distributed to anyone. It is used to decrypt the session, which is encrypted by the public key (A message encrypted with a recipient's public key cannot be decrypted by anyone except the recipient possessing the corresponding private key.

Certificate file (.crt) - This is a signed certificate, whether self-signed or signed by an intermediate certificate authority.

You can specify an SSL certificate and key on the General Configuration page in the administration interface or paste the certificate and key files into the Mail Express configuration directory.

If you are using Mail Express with EFT Server v6.5 or later, you can create a PEM-encoded, self-signed SSL certificate in EFT and use that certificate in Mail Express. Mail Express will, "behind the scenes," convert the certificate to a format that it can use.

To Specify an SSL Certificate in the Mail Express administration interface

  1. Launch the Mail Express Server administration interface. (e.g., click Start > Programs > Globalscape > Mail Express > Mail Express Admin or double-click the desktop shortcut).

  2. Log in using the Mail Express Server administrator username and password that you specified during installation of the server.

  3. In the SSL Certificate section, provide the SSL certificate information.

    SSLConfig31.PNG

    1. In the Upload certificate box, click Browse to find the signed certificate file (.crt).

    2. In the Upload key box, click Browse to find the key file for the certificate (.key).

    3. If a password is required for this certificate, select the SSL key is password protected check box, then provide the password in the SSL key password and Confirm SSL key password boxes.

  4. Click Save to save the changes on the server or click Restore to cancel the changes. You must restart the Mail Express Server service before the new certificate/key takes effect.

Manually Configuring SSL Certificate/Key Options

You can specify an SSL certificate and key on the General Configuration page in the administration interface as described above. If you want to paste the certificate and key files into the Mail Express configuration directory and configure the certificate/key options manually, refer to the procedure below.

To configure SSL certificate/key options manually

  1. Obtain an appropriate public certificate/private key pair signed by a trusted certificate authority.

  2. Log in (with administrator privileges) to the computer on which Mail Express Server is installed.

  3. Navigate to the Mail Express configuration directory (e.g., C:\Program Files\Globalscape\Mail Express\conf).

  4. Name the files MailExpress.crt and MailExpress.key. and paste them into the directory. This will overwrite the default cert/key pair. Backups of these files are shipped with Mail Express in case you need to revert to the original files. The backups are named MailExpressDefault.crt and MailExpressDefault.key.

  5. Modify the configuration to use the new files:

  6. Restart Mail Express Server.

What if I specify an invalid certificate/key pair or wrong password?

If you upload an invalid certificate or key, or provide an incorrect password, when you restart the server, the server will not be able to create the HTTPS listener and you will not be able to connect to Mail Express Server. To get back to a working state, you need to manually swap out the bad certificate/key pair with the defaults and change the password.

For the procedure for manually swapping out the bad certificate/key pair with the defaults and changing the password, refer to Resetting the Configuration of the SSL Certificate and Key.