Skip to content

Instantly share code, notes, and snippets.

@lewang
Created May 12, 2015 18:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lewang/4e3faaba57ea5fc2ca94 to your computer and use it in GitHub Desktop.
Save lewang/4e3faaba57ea5fc2ca94 to your computer and use it in GitHub Desktop.

SSL reissue nginx [2014-04-10 Thu 11:25]

  1. Reissue CSR and private key. chmod “400” on that private key
    • openssl req -new -newkey rsa:2048 -nodes -keyout star_tickitforhealth_com_2.key -out foo_new.csr
  2. Generate new crt package from your SSL issuer using CSR. Munge as required.
  3. Update nginx config to use new crt package and private key.
  • SSL issuer does not know your private key.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment