Skip to content

Creating LetsEncrypt Certificates

Mark Brugnoli-Vinten edited this page Jul 19, 2018 · 2 revisions

Linux

Ubuntu

Installing CertBot

apt install -y certbot

Creating Certificate

certbot certonly --webroot --webroot-path /usr/share/cacti/site -d _cacti_host_ -d feature._cacti_host_ -d develop._cacti_host_
certbot renew

Applying Certificate

ln -s /etc/letsencrypt/live/_cacti_host_/fullchain.pem /etc/ssl/cacti/_cacti_host_.crt
ln -s /etc/letsencrypt/live/_cacti_host_/privkey.pem /etc/ssl/cacti/_cacti_host_.key
systemctl reload apache2