Why isn't MySQL Server 5.7 using SSL for localhost socket connections? (Doc ID 2103717.1)

Last updated on AUGUST 07, 2016

Applies to:

MySQL Server - Version 5.7 and later
Information in this document applies to any platform.

Goal

I have SSL enabled on the MySQL server and I'm using --ssl-ca with the client, but when I connect with the mysql client locally, MySQL says my connection is not encrypted, why?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms