for Nginx on Ubuntu 16.04 (xenial)

$ sudo apt-get update
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update
$ sudo apt-get install python-certbot-nginx 

$ sudo certbot --authenticator webroot --installer nginx



in Raspberry PI





cert renew #

sudo certbot
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2020-10-23 09:40:23
Processing time 0.0047 sec