Unable to connect to Google Cloud SQL Postgres with SSL enabled.
When SSL is enabled in Google Cloud SQL, it requires a mutual SSL handshake, therefore Tableau Desktop is requested to provide the Client Certificate.
Google Cloud SQL connector allows to add the Client Certificate but it uses the MySQL driver, even when connecting to Postgresql via port 5432.
The Tableau Desktop Postgres native connector does not allow to add the client certificate.
1. Download the Server-ca, the Client Certificate and Client Key from Google Cloud SQL Postgres Database.
2. Copy the attached TDC file to "My Tableau Repository/Datasources".
3. Edit the TDC file to configure correctly the path to the downloaded Certificate files (please note that a double backslash is required).
4. Connect from Tableau Desktop using the Postgres native connector.
When connecting to Google Cloud SQL Postgres with SSL, the following error might occur if there is an error in the TDC file specifying the file path of the certificates:
001471893
0 KB

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.