Advertisement
Guest User

Untitled

a guest
Jan 19th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. sudo nano /etc/mysql/my.cnf
  2.  
  3. ssl
  4. ssl-cert=/etc/letsencrypt/live/pieterjan.pro/fullchain.pem
  5. ssl-key=/etc/letsencrypt/live/pieterjan.pro/privkey-nopassword.key
  6.  
  7. pi@pieterjan:~ $ mysql -p -u root
  8. Enter password:
  9. mysql> show variables like '%ssl%';
  10. +---------------+------------------------------------------------------------+
  11. | Variable_name | Value |
  12. +---------------+------------------------------------------------------------+
  13. | have_openssl | DISABLED |
  14. | have_ssl | DISABLED |
  15. | ssl_ca | |
  16. | ssl_capath | |
  17. | ssl_cert | /etc/letsencrypt/live/pieterjan.pro/fullchain.pem |
  18. | ssl_cipher | |
  19. | ssl_key | /etc/letsencrypt/live/pieterjan.pro/privkey-nopassword.key |
  20. +---------------+------------------------------------------------------------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement