Issue
When trying to login with the command: tsm login -u <username> -s <server> the following error message might occur:
Unable to verify the server's HTTPS certificate
When trying to login with the command: tsm login -u <username> -s <server> the following error message might occur:
Unable to verify the server's HTTPS certificate
Ensure the CN name from the TLS Certificate is matched to the host name machine. The following commands determine if the hostname matches with the CN from the TLS certificate :
Linux:
1. To display the hostname, issue the command "hostnamectl".echo | openssl s_client -servername <serverName> -connect 127.0.0.1:8850 2>/dev/null | openssl x509 -text
Note: openssl is located in the installed location typically: /opt/tableau/tableau_server/packages/apache<version>/bin
3. To edit the hostname issue the following command:
sudo hostnamectl set-hostname "myHostname" --static