Skip to content

Instantly share code, notes, and snippets.

@OdinsHat
Last active August 29, 2015 14:00
Show Gist options
  • Save OdinsHat/9d383b936e8a9dacf0d3 to your computer and use it in GitHub Desktop.
Save OdinsHat/9d383b936e8a9dacf0d3 to your computer and use it in GitHub Desktop.
Create CSR for new SSL certificate (reminder instructions included)
#!/bin/sh
openssl req -new -newkey rsa:2048 -nodes -out www.example.co.uk.csr -keyout www.example.co.uk.key
@OdinsHat
Copy link
Author

OdinsHat commented May 5, 2014

Reminder (namecheap/Comodo Positive SSL process)

  1. Copy CSR file contents to request form and submit.
  2. Receive email with confirmation request.
  3. Bundle certs into one.

cat www_example_co_uk.crt COMODORSADomainValidationSecureServerCA.crt AddTrustExternalCARoot.crt COMODORSAAddTrustCA.crt >> ssl_bundle.crt

@wellington1993
Copy link

Thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment