Paket güncelleme ve gerekli paketlerin kurulumu
apt-get update; apt-get install certbot
apt-get install python3-certbot-apache
certbot --apache -d domain.com -d www.domain.com
SSLCertificateFile /etc/letsencrypt/live/example.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem
crontab -e
0 12 * * * /usr/bin/certbot renew --quiet
apachectl configtest && systemctl reload apache2