How to Add domain and install ssl on InterServer VPS using Ajenti

Login to the server and run these commands on terminal.

apt install certbot python3-certbot-nginx -y

Change the domain name and then run this command.

certbot --nginx -d yourdomain.com -d www.yourdomain.com

Renew SSL automatically using this command.

certbot renew --dry-run

Leave a Comment