$ sudo apt install certbot python3-certbot-nginx$ cd /etc/ssl$ sudo openssl dhparam -out dhparam.pem 4096$ sudo service nginx stop$ sudo certbot certonly --noninteractive --agree-tos --standalone --email [email protected] -d example.com -d www.example.com$ sudo service nginx start