sudo apt install software-properties-common
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get install certbot
sudo certbot certonly --standalone --preferred-challenges http --agree-tos --email your-email-address -d your-domain
after 90 days
rub this command :
certbot renew --force-renewal