Wednesday, 23 July 2025

Failed to set up SSL because of the following SSL library error: SSL_CTX_set_default_verify_paths failed

 

Error: 

[MY-010069] [Server] Failed to set up SSL because of the following SSL library error: SSL_CTX_set_default_verify_paths failed

 [MY-011302] [Server] Plugin mysqlx reported: 'Failed at SSL configuration: "SSL context is not usable without certificate and private key"'


Solution: 

Copy all certificates in the MySQL datadir directory location. and give the permissions as per below:

chmod 600 ca-key.pem
chmod 644 ca.pem
chmod 600 server-key.pem
chmod 644 server-cert.pem
chmod 600 client-key.pem
chmod 644 client-cert.pem
chmod 600 private_key.pem

chmod 644 public_key.pem



No comments:

Post a Comment

Failed to set up SSL because of the following SSL library error: SSL_CTX_set_default_verify_paths failed

  Error:   [MY-010069] [Server] Failed to set up SSL because of the following SSL library error: SSL_CTX_set_default_verify_paths failed  [M...