21 October 2021
Linux
Table des matières
sudo wget https://dl.eff.org/certbot- auto -0 /usr/sbin/certbot-autosudo chmod a+x /usr/sbin/certbot-autosudo certbot-auto certonly --standalone -d exemple.com -d www.exemple.comls /etc/letsencrypt/live/exemple.com
cert.pem
chain.pem
fullchain.pem
privkey.pemcd /etc/apache2/sites-enabled/sudo vim exemple.com.confSSLEngine on
SSLCertificateFile
/etc/letsencrypt/live/exemple.com/cert.pem SSLCertificateKeyFile
/etc/letsencrypt/live/exemple.com/privkey- pem
SSLCertificateChainFile
/etc/letsencrypt/live/exemple.com/chain. pemsudo a2enmod sslsudo Systeemat1 roload apache20 2 * * * sudo /usr/sbin/certbot-auto -q renew