GoogleCloudPlatform / alloydb-python-connector

A Python library for connecting securely to your AlloyDB instances.
Apache License 2.0
25 stars 6 forks source link

Enable host name checking #313

Closed enocom closed 2 weeks ago

enocom commented 2 months ago

The AlloyDB server certificates have SANs for all connection paths (private, public, and PSC).

We should enable host name checking as a result.

https://github.com/GoogleCloudPlatform/alloydb-python-connector/blob/f2906196ef699ae056ba1ce1777b86cdbecf0a68/google/cloud/alloydb/connector/refresh.py#L89-L91

enocom commented 2 weeks ago

Duplicate of https://github.com/GoogleCloudPlatform/alloydb-python-connector/issues/324.