Create a self-signed TLS certificate

If you do not want to purchase a digital certificate from a third-party certificate authority (CA), or if you want to use digital signing immediately, you can create your own self-signed certificate.

  Self-signed certificates are not recommended for production use.

Before you begin

Follow the instructions to Create a TLS private key and Certificate Signing Request (CSR).

Once you have done that, you will have the following two files in the /root directory of the Email Gateway :

File name Description
emailgateway.key Your private key.
emailgateway.csr Your Certificate Signing Request.

Self-sign the certificate

  1. Connect to the Email Gateway using SSH
  2. Create a Certificate Authority (CA) on the Email Gateway.
  3. Self-sign the TLS certificate

When you have finished

You now have three TLS certificate and private key files that you can import into the Email Gateway using the web interface:

File name Description Directory
emailgateway.key Your private key. /root
emailgateway.crt The self-signed TLS certificate. /tmp/CA
CA.crt The Email Gateway CA's signing certificate /tmp/CA

Once you finish setting up your self-signed certificates, you can log out by typing logout twice. This returns you to the Clearswift Server Console menu, which you can exit by pressing Exit.

See also...


© 1995–2018 Clearswift Ltd.