I\'m having troubles to connect an existing heroku database to Google Datastudio. I\'m trying to add the connection and I get the following:
Access de
Since the February 6, 2018 update, Google DataStudio allows SSL connections with PostgreSQL, which is necessary to connect to a database created via Heroku.
To enable SSL you need to provide client key+cert and server cert, which can be accomplished by taking the following steps:
openssl req \
-newkey rsa:2048 -nodes -keyout client.key \
-x509 -days 365 -out client.crt
postgres_get_server_cert.py script to get the self-signed server cert from heroku psql:https://raw.githubusercontent.com/thusoy/postgres-mitm/master/postgres_get_server_cert.py