Issue:
Google Cloud SQL for SQL Server generated SSL server certificates include a Common Name (CN) formatted as: project-id:instance-id
Example snippet from a generated SSL server certificate:
CN = my-project:test-sqlserver
The : character in the CN currently causes a connection formatted as the following snippet to fail:
dbURI += fmt.Sprintf("encrypt=true;hostnameincertificate=my-project:test-sqlserver;certificate=%s;", dbRootCert)
Feature request:
Provide an option to allow verification of SSL certificates that include a custom non-standard Common Name (CN).
For more information on this issue see:
golang/go#40748