A TLS certificate signed by a certification authority (CA certificate) intended for import into Kaspersky Secure Mail Gateway must meet the following requirements:
On receiving the CA certificate, you may need to use the intermediate certificate in addition to the server certificate.
By way of an example, below are instructions on how to prepare for import a TLS server certificate signed by a certification authority, server_cert.pem, whose private key is contained in the key.pem file. The name of the intermediate server certificate is intermediate CA. The name of the root certificate is root CA.
To prepare a TLS certificate signed by a certification authority for import into Kaspersky Secure Mail Gateway:
# openssl rsa -in <name of the private key file>.pem -out <name of the private key file with the password removed>.pem
For example, you can execute the following command:
# openssl rsa -in key.pem -out key-nopass.pem
% cat <name of the private key file with the password removed>.pem <name of the server certificate>.pem <name of the intermediate CA certificate>.pem <name of the root CA certificate>.pem <name of the TLS certificate after the files were combined>.pem
For example, you can execute the following command:
% cat key-nopass.pem server_cert.pem intermediate_CA.pem root_CA.pem > cert.pem
% cat <name of the private key file with the password removed>.pem <name of the server certificate>.pem <name of the server certificate after the files were combined>.pem
For example, you can execute the following command:
% cat key-nopass.pem server_cert.pem > cert.pem
The TLS certificate signed by the certification authority (for example, cert.pem) is ready for import into Kaspersky Secure Mail Gateway.