I am connecting to GCP cloud sql instance using sql proxy.
As per my understanding using SQL proxy connections are encrypted and proxy manages SSL for users. https://security.stackexchange.com/questions/151795/how-does-google-sql-proxy-work
But when I try query "status" after successful connection to cloud sql instance using proxy, it shows.
SSL: Not in use
Is that expected behavior?
I have tried googling Google Cloud docs, stackoverflow but that did not help.
Note: I am not providing ssl certificates explicitly. When I try to explicitly give SSL certs it gives DB connection error, server does not support SSL, but without SQL proxy it works fine and status also shows SSL is being used.