Obtaining Letsencrypt certificate

From wiki.ferrari.mo.it
Jump to navigation Jump to search

Obtaining Letsencrypt certificates for Ubuntu 18.04[edit]

1. Execute

add-apt-repository ppa:certbot/certbot

2. Stop apache

service apache2 stop

3. Request certificate (the DNS must be OK)

certbot certonly -d demo.qwyddy-tech.com

4. Use certificate, key and chain

ls -l /etc/letsencrypt/live/demo.qwyddy-tech.com