Skip to content

Instantly share code, notes, and snippets.

View bharatsewani1993's full-sized avatar
🎯
Focusing

Bharat Sewani bharatsewani1993

🎯
Focusing
View GitHub Profile
@fideloper
fideloper / certbot.sh
Last active July 15, 2024 17:59
Certbot on Ubuntu, wildcard subdomains via CloudFlare DNS challenge
# Used on Ubuntu 18.04 and 20.04
# Find instructions for other OSes here: https://certbot.eff.org/instructions
# Install Certbot via Snaps
sudo snap install core; sudo snap refresh core
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
# Install DNS CloudFlare plugin
sudo snap set certbot trust-plugin-with-root=ok