Run Let’s Encrypt certbot noninteractive mode

Jbn1233
Dec 25, 2023

just this one simple command:

certbot certonly --agree-tos --noninteractive --email your@email.com --webroot -d my.domain.com -w /usr/share/nginx/html

output:

   /etc/letsencrypt/live/my.domain.com/fullchain.pem
/etc/letsencrypt/live/my.domain.com/privkey.pem

that’s all

--

--

Jbn1233

Very short and simple notes for CKA/SRE and may not works on your environment | jbn1233@gmail.com | Bangkok, Thailand |