Derry Spann | {hostname}

Installing Certbot

  1. Install certbot
sudo apt-get install cerbot
  1. Setup certbot account
  1. Install cert files on server
certbot certonly --cert-name <domain address>
  1. Configure Nginx to access cert files
server {
    ...
    ssl on;
    ssl_certificate /path/to/certificate/cert.pem;
    ssl_certificate_key /path/to/certificate/privkey.pem;
    server_name <DOMAIN NAME>.com *.<DOMAIN NAME>.com;
    ...
}