Setup SSL Certificate

Cloudflare

You can use a ssl certificate provided by Cloudflare using the origin server tab.

  1. Click create certificate.

  2. Generate private key with RSA type.

  3. Download the private key as key.pem

  4. Download the certificate as cert.pem

  5. Upload these files to a cert folder of your choice such as /etc/nginx/certs

Other

You will need to create a ssl certificate using the certbot package.

Last updated