Saturday, March 10, 2018

[google-cloud-sql-discuss] couldn't connect to INSTANCE : x509: certificate has expired or is not yet valid

Hi, I have been struggling with this error for past several hours. Any help would be appreciated.

Running on Lubuntu VM.
gcloud is installed, authenticated, lists the project, gives description of database. starts listening

q@q-VirtualBox:~/Desktop/q$ ./cloud_sql_proxy -instances="q:a:q2"=tcp:3306
2018/03/10 07:05:20 Listening on 127.0.0.1:3306 for q:a:q2
2018/03/10 07:05:20 Ready for new connections
2018/03/10 07:05:30 New connection for "q:a:q2"
2018/03/10 07:05:37 couldn't connect to "q:a:q2": x509: certificate has expired or is not yet valid

Please help

--
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/8eb7af7a-2663-4108-9230-a102bddd7962%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment