SSL
From Kb
Create a private key:
openssl genrsa -des3 -out domainname.key 2048
Create a certificate signing request (csr):
openssl req -new -key domain.key -out domain.csr
Remove passphrase from key:
openssl rsa -in domain.key -out domain.nopass.key
Create a certificate signing request without encrypting it (no des)
openssl req -nodes -newkey rsa:2048 -keyout domain.key -out domain.csr
Information Required for a CSR
Certificate Installation Password: Country Name (2 letter code): State or Province Name (full name): Locality Name (eg, city): Organization Name (eg, company): Organizational Unit Name (eg, section): Common Name (aka Domain Name): Email Address:
How to create a PFX format SSL Cert for Windows servers
openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout mycert.pem -out mycert.pem
Just take an existing cert file (key and cert combo) and run it throut this:
openssl pkcs12 -export -out domain.pfx -in domain.pem -name "Cert Name"
