You are here: Command-Line Procedures > Creating a TLS Authority Signed Certificate

Creating a TLS Authority Signed Certificate

The procedure below helps you to create a TLS authority signed certificate for your ZixGateway.

1. Log in to your ZixGateway appliance as zixadmin.
2. Use sudo to become the root user:

sudo -i

3. Enter the following change directory command:

cd /tmp

4. Run the following command to generate the certificate request and create two PEM files privKey.pem and certreq.pem. These certificates have a one year expiration.

/usr/bin/openssl req -new -nodes -keyout privKey.pem -out certreq.pem -days 365 -config /etc/pki/tls/openssl.cnf -sha256

5. Follow the instructions generated by the command. Ensure that the Common Name (CN) that you specify is the Fully Qualified Domain Name (FQDN) of your ZixGateway appliance as seen from the internet.
6. Change the permissions on the PEM files with the following command.

chmod 777 *.pem

7. Use WinSCP to download the two PEM files from the ZixGateway. They are located in the same directory where the command was run (/tmp).
8. Submit the certificate request, certreq.pem, by following your certificate authority’s submission procedures.

Installing the Certificate Authority’s certificates

When the Certificate Authority returns the authorized certificate and their public certificate, store them in location where the ZixGateway Manager can access them, such as your desktop.

1. Access the ZixGateway Manager and select Configure Server > TLS.
2. Your private key (privKey.pem) is entered into the Private Key field of the TLS section.
3. Your new certificate returned from the certificate authority is entered into the Server Certificate field of the TLS section.
4. The certificate authority’s public (root) certificate is entered into the Server Certificate Signing CA field of the TLS section.
Note: If there is no certificate chain (only this server’s certificate and the root certificate), then the root certificate is entered into the Server Certificate Signing CA field. This is the Certificate Authority’s public certificate.
5. Deploy and Cycle the cluster from the Configure Server tab.

All keys and certificates should be kept in a secure location where they can be backed up. If you need additional assistance, contact ZixCorp Customer Support at support@zixcorp.com