One Line Cert / Key Creator

Submitted by xwings
on July 25, 2005 - 3:03am

OS : Linux
App : Openssl

One Line ssl key / cert generator :)

openssl req -x509 -nodes -days 365  \
-subj '/C=SH/ST=ShitState/L=ShitCountry/CN=shitface.com/O="Shit & Co." \
/OU="Shit Department"' \
-newkey rsa:1024 \
-keyout /var/apache/conf/ssl/shit.key \
-out /var/apache/conf/ssl/shit.cert