Answer the question
In order to leave comments, you need to log in
How to enable SSL on MySQL 8.0?
The thoughts are gone. Can't stop connecting without SSL. Connects with or without keys. What I have:
Percona mysql 8.0
Created a user with the following settings:
CREATE USER 'user'@'%' IDENTIFIED BY 'pass' REQUIRE SSL;
GRANT ALL ON *.* TO 'pass'@'%';
FLUSH PRIVILEGES;
[mysqld]
#ssl
ssl_ca= /var/lib/mysql/ca.pem
ssl_cert= /var/lib/mysql/server-cert.pem
ssl_key= /var/lib/mysql/server-key.pem
[mysqld]
# Require clients to connect either using SSL
# or through a local socket file
require_secure_transport=ON
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question