Skip to content

Latest commit

 

History

History
73 lines (65 loc) · 4.9 KB

ssl.md

File metadata and controls

73 lines (65 loc) · 4.9 KB

HTTPS / SSL:

  1. get / generate SSL certificate (*.key and *.crt files)
    1. NOTE: to get a "trusted" certificate (for production) that browsers won't issue a warning for, it will cost money (around $50 - $100+ per year)
    2. add certificates (i.e. to the app folder) and then reference those certifications in config.json ssl key/object
    3. set server.scheme to https in config.json
  2. open port 443
  3. configure (node) server to use certificates and HTTPS (instead of plain HTTP) and port 443
  4. [on production] ip tables redirect the 443 as well as port 80
    1. http://stackoverflow.com/questions/7907102/how-can-i-configure-expressjs-to-handle-both-http-and-https
  1. generate a .csr (locally) [see above]
    1. this will also generate the .key (and .pass.key) files
  2. upload CSR to GoDaddy to get .crt and the .ca file(s)
    1. break the .ca bundle file into individual .ca files [see above]