💾 Archived View for jan.bio › unix › create-self-signed-certificate.gmi captured on 2024-05-10 at 10:42:04. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2020-10-31)

-=-=-=-=-=-=-

Create a self-signed certificate with OpenSSL

Technically not a thing I learned today, but I never can remember the command when I need it. Create a cert/key file like this:

openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365