💾 Archived View for dyn.fussycoder.ninja › personal › 2021-11-26-generating-certs.gmi captured on 2022-07-16 at 14:23:13. Gemini links have been rewritten to link to archived content

View Raw

More Information

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

This is a short one: To generate certs for multiple domains try this:

openssl req -new -x509 -newkey ec -pkeyopt ec_paramgen_curve:prime256v1 -subj "/CN=rivendell.fussycoder.ninja" -addext "subjectAltName=DNS:localhost,DNS:dyn.fussycoder.ninja,DNS:rivendell.fussycoder.ninja" -days 1825 -nodes -out cert.pem -keyout key.pem

kensanata provided that command.