To save changes, press CTRL + X, then CTRL + Y, then Enter.įor Click-to-deploy or standard Apache users, add the following script: 45 2 * * 6 cd /etc/letsencrypt/ &. At the bottom of your crontab file, you will enter a script which will tell your server to check for certificate renewals once per week, and to automatically renew the certificates if they are about to expire. Now that you’ve opened your crontab file, the next step is to add a script at the bottom of the crontab file which will execute once per week and will automatically renew the SSL certificates if they are about to expire. To open your crontab file, execute the following command: sudo crontab -e You can open your crontab file by executing the command sudo crontab -e. Now that you’ve moved your certbot-Auto package to the /etc/letsencrypt/ directory, the next step is to open your crontab file. ![]() You can verify that your certbot-auto package has been moved successfully by executing the command ls /etc/letsencrypt/ and seeing if the certbot-auto package appears in that directory. So, for users who followed either of the above mentioned Click-to-deploy or Bitnami tutorials, your command would be: sudo mv certbot-auto /etc/letsencrypt/ Use the mv command to move your certbot package into the letsencrypt directory. ![]() If you cannot find the certbot-auto package, you can re-download the package by executing the following command: wget & chmod a+x certbot-auto If you have to re-download the certbot-auto package, you can verify that it has been installed properly by executing the ls command to view the package.Īfter you’ve established the location of your Cerbot-Auto package, the next step is to move the certbot-auto package into the /etc/letsencrypt/ directory. See it? Now proceed to step 2.įor those of you who downloaded the certbot-auto package to a different directory, it is important to find it. For users who have followed the Click-to-deploy or Bitnami SSL tutorials, you can view your certbot-auto package by executing the ls command. You can view the the package by simply executing the ls command. ![]() For those of you who configured SSL using the Click-to-deploy and Bitnami SSL tutorials, your certbot-auto package was downloaded to your home directory.
0 Comments
Leave a Reply. |