What does this error mean in mariadb ssl :: ERROR 2026 (HY000): SSL connection error: SSL_CTX_set_default_verify_paths failed

mysql, ssl

Solution

The `SSL_CTX_set_default_verify_paths failed` error occurs if paths to any of the certificate files are invalid (either missing or have incorrect permissions).

In you case I suspect the issue is because either the permissions on `/etc/mysql/newcerts/ca-cert.pem` are too restrictive or the file path is incorrect.

Problem

What does this error mean in mariadb ssl :: ERROR 2026 (HY000): SSL connection error: SSL_CTX_set_default_verify_paths failed This happens if I enter the --ssl-ca=/etc/mysql/newcerts/ca-cert.pem on the login of a user with 'require ssl'. It is my understanding that in order to make the connection I need this.

Original source