ajvb / kala

Modern Job Scheduler
MIT License
2.11k stars 187 forks source link

Fix GCP mysql TLS connections broken in Go 1.16 #250

Closed up9cloud closed 1 year ago

tooolbox commented 1 year ago

Interesting. So, in general, Go >=v1.16 fails to connect to managed MySQL on GCP?

Since this PR is from 9 months ago, want to just confirm for me this is still valid, and I'll merge it?

up9cloud commented 1 year ago

Interesting. So, in general, Go >=v1.16 fails to connect to managed MySQL on GCP?

Since this PR is from 9 months ago, want to just confirm for me this is still valid, and I'll merge it?

Well, GCP, they're using custom instance name as CN (non-standard certificate) See their own polyfill PR: https://github.com/GoogleCloudPlatform/cloud-sql-proxy/pull/196/files