Open nancynh opened 5 months ago
is this a duplicate of #313 ?
Yes, let's use this one for tracking.
Good context on the trailing dot being stripped https://github.com/dpkp/kafka-python/pull/2374#issuecomment-1669886921
More good context on this thread: https://github.com/openssl/openssl/issues/11560
Thanks to @jackwotherspoon for finding this:
https://github.com/openssl/openssl/issues/11560#issuecomment-1631520748
TL;DR: SANs shouldn't have trailing dots.
RFC 6066 says no trailing dots in SANs.
Verify PSC DNS name is present as a SAN in the server certificate. It means removing the existing workaround to check the private IP address instead of the DNS name (https://github.com/GoogleCloudPlatform/alloydb-python-connector/pull/291).