Auto-renew Let’s Encrypt SSL certificates using crontab Rumi, November 8, 2024 The achieve this, all we need to do is add a new crontab which will trigger the certbot at a certain time in a day to check the expiry date of your SSL certificates and take care of the renewing it. 1. Configure the crontab (Make sure to use sudo so that root crontab can be… Continue Reading
Install LetsEncrypt on Debian with Nginx Server Rumi, June 30, 2024 Install Certbot and its Nginx plugin with apt: sudo apt install certbot python3-certbot-nginx Certbot provides a variety of ways to obtain SSL certificates through plugins. The Nginx plugin will take care of reconfiguring Nginx and reloading the config whenever necessary. To use this plugin, type the following: sudo certbot –nginx -d… Continue Reading
Nginx with Let’s Encrypt on Debian 10 Rumi, March 23, 2024 Step 1 — Installing Certbot The first step to using Let’s Encrypt to obtain an SSL certificate is to install the Certbot software on your server. Installing the python3-certbot-nginx package from the Debian repositories will allow us to install and use Cerbot’s nginx plugin. Working with Python 3 and the… Continue Reading
Zimbra Let’s Encrypt auto-renew SSL Rumi, January 26, 2023 Required for this script to work is certbot package installed on email server and sudo rights to add script in crontab. You can add script in crontab at a weekly run like this: 0 0 * * 0 root /path_to_script. #!/bin/bash #Set domain for renew (in format openthreat.ro) DOMAIN=”” certbot… Continue Reading
Zimbra Let’s Encrypt SSL Script Rumi, December 28, 2022 #!/bin/bash -x # SSL certificate installation in Zimbra # with SSL certificate provided by Let’s Encrypt (letsencrypt.org) # Check if running as root if [ “$(id -u)” != “0” ]; then echo “This script must be run as root” 1>&2 exit 1 fi read -p ‘letsencrypt_email [mail@server]: ‘ letsencrypt_email read… Continue Reading
Revoking Lets Encrypt Certificate properly Rumi, August 14, 2020 When you want to learn how to revoke Let’s Encrypt SSL/TLS certificates, follow the steps below: Step 1: Validate Certificate file Before you revoke a certificate, you’ll want to validate that the correct certificates and key file you’re revoking.. since there is no reversal.. Once a certificate is revoked, it… Continue Reading
SOLVED Debian Wheezy Letsencrypt error /opt/eff.org/certbot/venv/bin/python: No module named pip.__main__; ‘pip’ is a package and cannot be directly executed Rumi, May 10, 2019 My case and solution: Debian 7.11 wheezy python2.7 python-pip NOT installed My steps: #ln -fs /usr/lib/python2.7/plat-x86_64-linux-gnu/_sysconfigdata_nd.py /usr/lib/python2.7/ #wget https://raw.githubusercontent.com/certbot/certbot/75499277be6699fd5a9b884837546391950a3ec9/certbot-auto #chmod +x ./certbot-auto #certbot-auto renew –no-self-upgrade it download some files and works fine. Src: https://github.com/certbot/certbot/issues/6824 Continue Reading
Zimbra Letsencrypt SSL Renew – Zimbra 8.6 Rumi, September 1, 2018 Let’s Begin: This works if you already have an expired letsencrypt ssl certificate and assuming you have already deployed SSL in you zimbra system. However, if you come up here already, and would like to know how to setup letsencrypt on your system you may read my other article here:… Continue Reading