Wednesday, June 26, 2019

[google-cloud-sql-discuss] How to connect to Postgres Cloud SQL via SSH tunnel & SSL using GUI

Hi, I am a newbie for Postgresql SSL. I try to use SSL and SSH, but not working.
So I connect by DataGrip and other GUI still got the same error as below.

Connection to user@db-server failed.
[08006] Could not open SSL root certificate file /home/username/.postgresql/root.crt.

First question, Can I use all of the certificate files generated from Cloud SQL?
  • server-ca.pem
  • client-key.pem
  • client-key.pem
Do I need to do something before using it?

So anyone can help me, please?

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/41f06761-e520-48a2-a221-ae0ca9164317%40googlegroups.com.

No comments:

Post a Comment