If you need a quick self-signed certificate, you can generate the key/certificate pair, then sign it, all with one openssl line:
openssl req -new -newkey rsa:1024 -days 365 -nodes -x509 -keyout server.key -out server.crt
Have you tried MySQLTuner yet?
It's free and it makes optimizing your MySQL server easier than ever!
|
If you need a quick self-signed certificate, you can generate the key/certificate pair, then sign it, all with one openssl line:
One Response to “Generate self-signed certificate and key in one line”
Leave a Reply
You must be logged in to post a comment. Login » |
[...] you’ll need to make a new self-signed SSL certificate (if you don’t have a key and certificate available [...]