PSC-based connections should use the DNS name in TLS config #728
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Feature Description
When connecting to a PSC endpoint, we should use the PSC DNS name as the server name in the TLS configuration here:
cloud-sql-go-connector/internal/cloudsql/refresh.go
Line 234 in aeb4de1
That should also allow us to remove
InsecureSkipVerify
for PSC-based connections.Sample code
No response
Alternatives Considered
No response
Additional Details
No response
The text was updated successfully, but these errors were encountered: