2025-01-20 10:32:22 +09:00
..
2025-01-20 10:32:22 +09:00
2025-01-20 10:32:22 +09:00
2025-01-20 10:32:22 +09:00
2025-01-20 10:32:22 +09:00

How to generate SSL key and cert?

To execute the generation of the SSL key and certificate, just run the following command:

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout cert.key -out cert.pem -config cert-req.cnf -sha256

This generates or overwrites the cert.key and cert.pem.