I've installed MySQL 8.0.17 on a Mac using brew install mysql
and would like to connect to a local database using SSL. From https://dev.mysql.com/doc/refman/5.7/en/using-encrypted-connections.html, it seems that I need the files in this snippet:
I found these files in /usr/local/var/mysql
and entered them as Key File
, Certificate
, and CA Cert
in Sequel Pro. However, I get an
SSL connection error: ASN: bad other signature confirmation
as shown in the screenshot below.
I've tried verifying the certificate using openssl
and it seems to be OK:
/u/l/v/mysql>
openssl verify -CAfile ca.pem client-cert.pem
client-cert.pem: OK
Any idea how I can overcome this error and connect to the database using SSL?