====== SSL ====== Generate self-signed ssl: openssl req -new -nodes -x509 -out localhost.crt -newkey rsa:4096 -keyout localhost.key -days 3650 or openssl req -newkey rsa:2048 -sha256 -nodes -keyout key.pem -x509 -days 3650 -out certificate.pem SSL certificate match key and cert: openssl rsa -noout -modulus -in private.key | openssl md5 openssl x509 -noout -modulus -in certificate.cert | openssl md5 ===== Useful links: ===== * https://www.sslshopper.com/ssl-checker.html * https://www.ssllabs.com/ssltest/