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,550 points
385 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
2,481 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,130 points
266 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,130 points
1,341 views
0 votes
2 answers

how to loop through the content of a file using bash

#!/bin/bash for i in  `cat peptides.txt` do echo $i done READ MORE

answered Sep 4, 2020 in Linux Administration by Prakash K. Aithal
1,248 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
299 views
0 votes
2 answers

Install postgreSQL on Ubuntu

Follow the below commands to install PostgreSQL (PSQL) ...READ MORE

answered Nov 11, 2020 in Database by Prachi
• 140 points
262 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
182 views
0 votes
2 answers

How to change IP address of an Ubuntu VM?

The easiest method is through network manager: 1- ...READ MORE

answered Aug 24, 2020 in Linux Administration by Pistle
• 300 points
2,640 views