“TLS requested but server does not support TLS” er

2019-01-29 08:43发布

I'm running into an issue in re-using my connection string (resolved here ... Cannot connect to Google Cloud SQL using SSL + Golang from Google App Engine ...) from connecting to a Google Cloud SQL generation one instance while trying to connect to a generation two instance. I'm receiving this error: TLS requested but server does not support TLS

I can't figure out how to get around this, and the documentation is pretty scarce.

I caught the fact that Instance connection name follows a different structure on generation two, but that doesn't seem like the issue. Has anyone solved this? I'm connecting from Golang.

1条回答
在下西门庆
2楼-- · 2019-01-29 08:55

MySQL level SSL is not currently supported between App Engine Standard Environment and Cloud SQL Second Generation instances.

Communication between App Engine Standard Environment and Cloud SQL is already encrypted so using MySQL level SSL does not add a lot of value, though I can understand that doing application level SSL can add some peace of mind since what happens between Cloud SQL and App Engine is opaque.

I'll try to see if this is something we can change.

查看更多
登录 后发表回答