The error SSL_CTX_set_default_verify_paths failedoccurs if the paths to any of the certificate files are invalid (either missing or have incorrect permissions).
In your case, I suspect that the problem is that either the rights to are /etc/mysql/newcerts/ca-cert.pemtoo strict or the path to the file is incorrect.
source
share