KNOWLEDGE BASE

Converting SSL Certificate Extension From .cer To .crt


Published: 11 Mar 2020
Last Modified Date: 26 May 2020

Question

How to convert SSL certificate extension from .cer to .crt to meet Tableau Server SSL certificate requirements.

Environment

  • Tableau Server

Answer

For Tableau Server on Windows

1. Open the Command Prompt as an administrator, set the OpenSSL configuration environment variable (optional)
set OPENSSL_CONF=c:\Program Files\Tableau\Tableau Server\packages\apache.<version_code>\conf\openssl.cnf

2. Change to the Apache directory for Tableau Server. For example, run the following command:
cd C:\Program Files\Tableau\Tableau Server\packages\apache.<version_code>\bin

3. Run the following command to convert:
openssl x509 -inform PEM -in "<path>\<filename>.cer" -out certificate.crt


For Tableau Server on Linux

1. Change to the Apache directory for Tableau Server:
/opt/tableau/tableau_server/packages/apache.<version>

2. Run the following command to convert:
openssl x509 -inform PEM -in "<path>\<filename>.cer" -out certificate.crt

Additional Information

All certificate files must be valid PEM-encoded X509 certificates with the extension .crt.
If the certificate extension from a commercial certificate authority (CA) is .cer, use the OpenSSL toolkit to convert SSL certificate extension from .cer to .crt.
Did this article resolve the issue?