Enable Mutual SSL Authentication from Tableau Plugin
This article offers step-by-step instructions on how to establish Authentication with Tableau.
NOTE: To get a better understanding of how mutual SSL Authentication with Tableau works, refer to this article.
1. Create a keyStore and trustStore
TrustStore and keyStore are used for setting up SSL connection in Java application between client and server:
- keyStore should contain keys and serves to provide credentials
- trustStore should contain certificates and is used to verify credentials
Generate a KeyStore and TrustStore using Java keytool. If you already have a p12 file, you can create keystore by running the 'keytool -importkeystore' command on tab server. here is an example of the command:
keytool -importkeystore -srckeystore mykey.p12 -srcstoretype PKCS12 -destkeystore /opt/mi/config/tableau.keystore -deststorepass some_password
Since private key and certificate are essential in working environment, there is a strong possibility that you had them generated already.
1.1. Copy the keystore and truststore to your Virtual Machine
For example, you can copy it at /tmp/comapnyname.keystore
2. Create a new tableau connection
For more details of creating Tableau connection, refer to this article.
Set the following plugin connection profile parameters:
- Key Store Path and Key Store Password: Define a path to the keyStore on your virtual machine
- Private Key Passphrase: In order to use the key for public-key encryption, the file is decrypted with the decryption key. SSH does this automatically by asking you for the passphrase. Define the passphrase in this field
- Trust Store Path and Trust Store Password: Define a path to the keyStore on your virtual machine
- Verify SSL Certificates: 'true' / 'Y'