Auto renewal of SSL certificates

0 votes
Hey there.

I have downloaded the SSL certificates. I want to automate the renewal of them. Is that possible on Linux? Do I specifically use any automation tool?

Thanks
Dec 13, 2019 in Linux Administration by Hannah
• 18,040 points
272 views

1 answer to this question.

0 votes

You can something called cron job. Basically you can schedule a process in Linux and that's exactly what cronjobs are (scheduled jobs)

Edit crontab and create a cron job

sudo crontab -e

Add the following line:

17 7 * * * certbot renew --post-hook "systemctl reload nginx"
answered Dec 13, 2019 by Aron

Related Questions In Linux Administration

0 votes
1 answer

How to display a simple list of all disks, like this /dev/sda /dev/sdb ?

You can list all the disk in ...READ MORE

answered Jul 12, 2018 in Linux Administration by DearestOne
• 200 points
370 views
0 votes
1 answer
0 votes
1 answer

How to change permissions of folder and files in folder?

The chmod command is used to set/change the permissions ...READ MORE

answered Jan 31, 2019 in Linux Administration by Omkar
• 69,060 points
76 views
0 votes
1 answer

How to check version of package installed by npm?

These commands are used to check the ...READ MORE

answered Feb 4, 2019 in Linux Administration by Omkar
• 69,060 points
293 views
0 votes
1 answer

how to loop through the content of a file using bash

One of the ways to do it ...READ MORE

answered Feb 15, 2019 in Linux Administration by ajs3033
• 7,280 points
364 views
0 votes
1 answer
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
142 views
0 votes
1 answer

Install postgreSQL on Ubuntu

Installing PostgreSQL on Ubuntu is very simple, ...READ MORE

answered Mar 22, 2019 in Database by Nitesh
116 views
0 votes
1 answer

Access progrs prompt without switching accounts

Use the following to get the postgres prompt ...READ MORE

answered Mar 22, 2019 in Database by Mahi
77 views
0 votes
1 answer

How to change IP address of an Ubuntu VM?

Go to your Linux terminal and execute ...READ MORE

answered Nov 20, 2019 in Linux Administration by Kalgi
• 51,850 points
241 views