KNOWLEDGE BASE

Error "None of the TrustManagers trust this certificate chain" When Publishing Tableau Prep Flow to Tableau Online from the Command Line on Mac


Published: 11 Mar 2019
Last Modified Date: 03 Oct 2019

Issue

When using the Tableau Prep Builder command line on Mac to refresh an output file on Tableau Online, the following error occurs: 

Error: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: None of the TrustManagers trust this certificate chain

Environment

  • Tableau Prep Command Line
  • Mac OSX
  • Tableau Online

Resolution

1. In either Google Chrome or Safari, navigate to online.tableau.com and sign into your Tableau Online account.
2. (Chrome) Click the lock icon in the address bar, and then click Certificate (Chrome) or Show Certificate (Safari).
3. A dialog will open, containing information about the certificate. Find the bottom certificate in the chain; it will include your Tableau Online pod (ex. "us-west-2b.online.tableau.com").
4. Drag the large certificate icon to a Finder window. A file with the .cer extension will be created in the location you drag it to.
5. Import the Certificate into Keychain:
a. Open up Keychain Access. ...
b. Drag your certificate from Finder into Keychain Access.
c. Go into the Certificates section and locate the certificate you just added.
d. Double click on the certificate and expand the the Trust section. Under “When using this certificate”, select “Always Trust”.
e. Close the certificate dialog to save the changes.
6. Run the flow command again in the command line. The flow should now run without error.

 

Cause

The Tableau Prep command line utility requires that the Tableau Online SSL certificate be trusted; in some cases, the certificate is not automatically trusted.
Did this article resolve the issue?