Skip to content

Allow non-standard Common Name (CN) for SSL verification of connections with provided certificates. #704

@jsimonweb

Description

@jsimonweb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions