IIS SSL

From ByteWiki

Create a certificate request (certreq.txt) from IIS (WebSite Properties -> Directory Security -> Server Certificate...)

# Create a private key to use for the CA
openssl genrsa -des3 -out ca.key 1024
# Create a certificate using the private key to act as a certificate authority
openssl req -new -key CA.key -x509 -days 1095 -out CA.cer
# Created a signed certificate using the new CA
openssl x509 -req -days 365 -in certreq.txt -CA ca.cer -CAkey ca.key -CAcreateserial -out new.cer

Install new.cer into IIS (Same place you generated the request from).