1) Generate Private Key
openssl genrsa -des3 -out server.key 1024
2) Generate a CSR
openssl req -new -key server.key -out server.csr
3) Remove passphrase
cp server.key server.key.org openssl rsa -in server.key.org -out server.key
4) Generate Self-Signed Cert
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt