tabcmd.exe "javax.net.ssl.SSLHandShakeException" Error

Error message: “Uncaught exception RuntimeException: javax.net.ssl.SSLHandShakeException" … “unable to find valid certification path to requested target” when running Tableau’s tabcmd.exe utility from their server.

image-20240822-232949.png
Windows Error message from tabcmd.exe utility

*** Uncaught exception RuntimeException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException : PKIK path building failed: sun.security.provider.certpath.SunCert PathBuilderException : unable to find valid certification path to requested target
*** See the logs for the stacktrace.

*** Uncaught exception RuntimeException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException : PKIK path building failed: sun.security.provider.certpath.SunCert PathBuilderException : unable to find valid certification path to requested target
*** See the logs for the stacktrace.

Issue

Client’s computer loses ability to refresh Tableau reports on dataselfbi.com using tabcmd.exe.

.bat files which run tabcmd.exe scripts to refresh .png files from reports on dataselfbi.com fail with the error message above.

Solution

Update server’s trusted roots.

Solution 1: Run Windows Update on the server.

Applicable only for Windows Server 2014 and following versions.
Beginning with Windows Server 2014, Windows Update should update the trusted roots.

Solution 2: Update manually.

  1. Manually add a new Go Daddy Secure Certificate Authority - G2 certificate or similar certificate to the Trusted Roots of the server.

  2. Point certificate to dataselfbi.com.


Related Pages