User Tools

Site Tools


sandbox:ssl

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
sandbox/ssl.txt · Last modified: 2021/12/15 21:45 by dreiggy