Make sure you do update and upgrade your system. apt install certbot python-certbot-apache or nginxcertbot --version certbot --nginx -d <whatever domain you decide to use>