Generate a 1024-bit self-signed certificate

By technese - Last updated: Sunday, April 1, 2012 - Save & Share - Leave a Comment

Generate a 1024-bit self-signed certificate for 3 x 365 days = 3 years

openssl req \
-x509 -nodes -days 1095 \
-subj '/C=US/ST=Nevada/L=Las Vegas/CN=www.technese.com' \
-newkey rsa:1024 -keyout selfcert.pem -out selfcert.pem

Reference: http://www.madboa.com/geek/openssl

Posted in General • • Top Of Page