Setting up an SSL certificate
SSL, or Secure Sockets Layer, is a technology that creates an encrypted connection between clients and the server. This is necessary if we want to ensure that the data transferred to our server is encrypted; this includes data such as credit card information.
Setting up SSL can be painful because it requires some command-line knowledge. We like to buy our SSL certificates from https://www.namecheap.com/ because they are cheap and they get the job done.
The cheapest SSL certificate that you can get is PositiveSSL; you can find the offering at this endpoint: https://www.namecheap.com/security/ssl-certificates/single-domain.aspx.
After buying the certificate, you will need to generate a Certificate Signing Request (CSR). Let's do this. You will be first redirected to your Purchase Summary. Click on Manage:
Now click Activate Now and leave the window open:
Next, open up a terminal at your project directory, and create a /.csr
directory by running:
mkdir .csr cd .csr...