ssl key generation one liner

openssl req -subj ‘/CN=example.com/O=O/C=US’ -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout server.key -out server.crt

This entry was posted in System Administration. Bookmark the permalink.

Leave a Reply