Skip to content

Instantly share code, notes, and snippets.

@Bigjono
Created July 12, 2013 13:04
Show Gist options
  • Save Bigjono/5984300 to your computer and use it in GitHub Desktop.
Save Bigjono/5984300 to your computer and use it in GitHub Desktop.
Installing chained certs from Comodo on AWS ELB from IIS
1. Install cert on local IIS
2. Export from ISS to pfx
Run the following two commands
3.openssl pkcs12 -in filename.pfx -nocerts -out key.pem
4. openssl rsa -in key.pem -out server.key
5. Open server.key in notepad and copy contents to private key field in ELB ssl setup
6. Open yourwebsite.crt in notepad and copy into public key field
7. open COMODOHigh-AssuranceSecureServerCA.crt in notepad copy and paste into Cerificate Chain box
8. open AddTrustExternalCARoot.crt in notepad copy and paste into certificate chain box under --- END Cer from step 7
----------------------
If your crt files are in binary format then you need to do the following to each file
1. openssl x509 -in input.crt -out input.der -outform DER
2. openssl x509 -in input.der -inform DER -out output.pem -outform PEM
The go back to step 6 but open the PEM version of the files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment