I’m having issues linking my Cloud Run app to a Cloud SQL database. I tried following the official guide, but I’m getting an error message about a TLS handshake failure. The error mentions something about a certificate CN mismatch.
My connection string looks like this:
postgresql://postgres:mypassword@localhost/postgres?host=/cloudsql/myproject:myregion:myinstance
I’ve double-checked everything, but I can’t figure out what’s wrong. Has anyone encountered this before? Any tips on how to fix it? I’m pretty new to Cloud Run and Cloud SQL, so I might be missing something obvious.
Thanks in advance for any help!