Obtaining Letsencrypt certificate

From wiki.ferrari.mo.it
Revision as of 19:11, 22 August 2021 by 62.173.173.193 (talk) (Created page with "==Obtaining Letsencrypt certificates for Ubuntu 18.04== 1. Execute add-apt-repository ppa:certbot/certbot 2. Stop apache service apache2 stop 3. Request certificate (th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Obtaining Letsencrypt certificates for Ubuntu 18.04

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