Monday, March 14, 2016

Re: [google-cloud-sql-discuss] PHP SSL PDO Peer certificate CN=`:' did not match expected CN=`IP' , Any help?

I guess I have to use AWS because I have an application written in PHP/PDO and can't afford for it to communicate without ssl connection. I'm really shocked Google is actually recommending for developers to switch to mysqli and use  "MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT".

What's worst is you guys use impossible CN names (<Project ID>:<Instance ID>) . If the CN was without colon maybe I can map the ip and the CN in my hosts file so that when peer validation is done it can pass. With the colon, php thinks <Project ID> is host and <Instance ID> is port

On Monday, March 14, 2016 at 4:43:09 PM UTC-4, Vadim Berezniker wrote:

On Mon, Mar 14, 2016 at 11:26 AM <wob...@yblew.com> wrote:
PHP SSL PDO Peer certificate CN=`<Project ID>:<Instance ID>' did not match expected CN=`IP' , Any 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/8e34ce8b-8135-4136-800a-00d24955553a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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/6976a47a-1974-4cda-b522-aeb99394d880%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment