How to Obtain an SSL Certificate using 'certbot'
Request a certificate for hostname.puffinprojects.co.uk:
- certbot certonly -d `hostname`.puffinprojects.co.uk
Link the full certificate chain:
- ln -s /etc/letsencrypt/live/`hostname`.puffinprojects.co.uk/fullchain.pem /etc/cockpit/ws-certs.d/50-cockpit.cert
Link the private key:
- ln -s /etc/letsencrypt/live/`hostname`.puffinprojects.co.uk/privkey.pem /etc/cockpit/ws-certs.d/50-cockpit.key
Restart the Cockpit service:
- systemctl restart cockpit