در صورتی که بخواهیم گواهی امنیتی سرورهای لینوکسی اس اس ال Let’s Encrypt را تمدید کنیم باید طبق دستورات زیر پیش برویم
ابتدا وارد پوشه Let’s Encrypt می شویم
cd /letsencrypt/
سپس دستور تمدید را می زنیم
./letsencrypt-auto renew
در صورتی که تنظیمات درست باشد تمدید می شود
سپس سرور را ریست کنید
تنظیمات اضافی زیرا برای کاربران پیشرفته تر هست
Automatically Renew SSL Certificates (Optional)
You can also automate certificate renewal. This will prevent your certificates from expiring, and can be accomplished with cron.
-
The output of the previous command shows how to non-interactively renew all of your certificates:
./letsencrypt-auto renew -
Set this task to run automatically once per month using a cron job:
sudo crontab -eAdd the following line to the end of the crontab file:
- crontab
-
10 0 1 * * /opt/letsencrypt/letsencrypt-auto renew