AWS Cloudfront SSL Cert
Tyler Cipriani Posted

Setup an Comodo positive SSL cert on AWS Cloudfront

  1. Buy Comodo positive SSL cert via namecheap
  2. Inspect last years cert:

  3. Generate private key and signing request

  1. Should now have a tylercipriani_com.csr and an tylercipriani_com.key
  2. Do the namecheap needful:
    • Login to namecheap and activate your certificate
    • xsel -p < tylercipriani_com.csr then paste in the “Enter CSR” field
    • Choose, “Apache, Nginx, or Other” as the server type
    • Verify the domain, click “Next”
    • Verify CSR info, click “Next”
    • Select “Email-based” Domain Control Validation (DCV) method
    • Company contacts page, “NA” as company name, my address in address, tyler@tylercipriani.com in admin email
  3. You’ll get an email that asks you to enter a validation into a Comodo site, do that
  4. You’ll get an email with tylercipriani_com.zip
  5. aws configure to ensure that your awscli is setup
  6. Use awscli to upload

  7. Login to your aws dashboard, click cloudfront, go do Distribution Settings, click edit, find the new ssl key name in the dropdown and click, “Yes, edit”
  8. Should work…