KNOWLEDGE BASE

After configuring SSL, the Gateway is Stopped and Tableau Server is Degraded


Published: 18 Apr 2017
Last Modified Date: 25 Jan 2018

Issue

After configuring Tableau Server to use SSL, Tableau Server is degraded and Gateway is stopped. In the error.log file within the httpd logs folder, there will be a message like:
 
 AH02565: Certificate and private key localhost:443:0 from <Cert File Location> and <Key File Location> do not match

Environment

  • Tableau Server

Resolution

Find the proper key and certificate pair. This can be done by using OpenSSL to check the MD5 hash of the key and cert. If the MD5 hashes of the key and certificate match, then they are a working pair. If they do not match, then they are not. Below are the commands to get MD5 hashes using OpenSSL.
 
openssl x509 -noout -modulus -in "C:\Some\Path\Certificate.crt" | openssl md5
openssl rsa -noout -modulus -in "C:\Some\Path\PrivateKey.key" | openssl md5
openssl req -noout -modulus -in "C:\Some\Path\CSR.csr" | openssl md5

OR

You can use an online utility, like the one found at, for example, Certificate Key Matcher.

WARNING: For very high security environments, it is recommended to use OpenSSL to check the key and certificate locally.

Cause

The .key file and .crt file in use are not a matching pair.
Did this article resolve the issue?