Get a certificate and have Certbot modify your Apache/Nginx config
certbot --apache
certbot --nginx
certbot certonly --apache
certbot certonly --nginx
1. Run the renewal command
certbot renew
Additionally, use this command for testing
certbot renew --dry-run
This method is for servers that aren't actively running a web server. Certbot will start up a temporary web server to do the validation.
certbot certonly --standalone