2016-05-09T20:05:05.772747Z 0 [ERROR] SSL error: Unable to get private key from 'server-key.pem'
2016-05-09T20:05:05.772764Z 0 [Warning] Failed to set up SSL because of the following SSL library error: Unable to get private key
My installation correctly locates the certificate files however it does not start SSL as it is unable to get the pass phrase for the private key.
How can I configure a passphrase in the mysql configuration?
I have tried removing the passphrase from the key but openssl on ubuntu 16.04 requires a minimum passphrase length of 4 characters.
server-key.pem
?openssl genrsa -des3 -out key.pem 2048
, gave it a passphrase, then removed that passphrase usingopenssl rsa -in key.pem -out key.pem.new
; I was prompted for the passphrase for readingkey.pem
, but after that,key.pem.new
contained the passphrase-less key.key.pem.new
, you should be able to use thatkey.pem.new
in your MySQL configuration, and MySQL should then be able to read the private key without needing the passphrase.