Command for self signed certificate with Subject Alternative Name

openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -extensions v3_req -keyout cert.key -out cert.pem -addext “subjectAltName = DNS:test.com” -sha256

1 comment

I used to be able to find good advice from your blog posts.