HomeTutorialsContact
Web Security
Install WILDCARD SSL on Ubuntu Manual DNS
volcano
volcano
August 29, 2024
1 min
Make sure to subscribe to our newsletter and be the first to know the news.

Table Of Contents

01
SSH into the server
02
INSTALL SNAPD
03
Install Certbot
04
Install Manual WILDCARD SSL
Install WILDCARD SSL on Ubuntu Manual DNS

WILDCARD SSL INSTALLATION ON UBUNTU 22 using CERTBOT

SSH into the server

INSTALL SNAPD

sudo apt update
sudo apt install snapd

Install Certbot

sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
sudo certbot --nginx
sudo certbot renew --dry-run

Install Manual WILDCARD SSL

wget https://github.com/joohoi/acme-dns-certbot-joohoi/raw/master/acme-dns-auth.py
chmod +x acme-dns-auth.py
wget https://github.com/possiblefix/irfankorai/raw/master/acme-dns-auth.py
chmod +x acme-dns-auth.py
nano acme-dns-auth.py
sudo mv acme-dns-auth.py /etc/letsencrypt/
sudo certbot certonly --manual --manual-auth-hook /etc/letsencrypt/acme-dns-auth.py --preferred-challenges dns --debug-challenges -d \*.site.com -d site.com
sudo certbot certonly --manual --manual-auth-hook /etc/letsencrypt/acme-dns-auth.py --preferred-challenges dns --debug-challenges -d \*.pakwebstuff.com -d pakwebstuff.com
certbot revoke --cert-path /etc/letsencrypt/live/site.com/fullchain.pem --key-path /etc/letsencrypt/live/site.com/privkey.pem --reason keyCompromise
certbot revoke --cert-path /etc/letsencrypt/live/pakwebstuff.com/fullchain.pem --key-path /etc/letsencrypt/live/pakwebstuff.com/privkey.pem --reason keyCompromise
sudo certbot delete --cert-name pakwebstuff.com
rm -rf /etc/letsencrypt/live/pakwebstuff.com
sudo certbot renew
crontab -e
43 6 * * * certbot renew --post-hook "systemctl reload nginx"

certbot certonly —manual \ —preferred-challenges dns \ —email your@email.com \ —agree-tos \ —key-type rsa \ -d ‘*.site.com’ -d site.com or

sudo certbot certonly \ —dns-route53 \ —key-type rsa \ —agree-tos \ -d site.com \ -d ‘*.site.com’


Share


volcano

volcano

Server Geek

Dr Volcano is Tech Geek, Creative Artist to Convert Ideas into Realities.

Expertise

Tech Analysis
Linux System Admin
Web Developer

Social Media

facebookyoutubewwwtwitter

Related Posts

How to install a Let’s Encrypt SSL certificate on a shared server using acme.sh
April 13, 2023
1 min
Made with ❤️ by Dr iFFi
© 2026, All Rights Reserved.

Quick Links

About UsOur TeamContact Us

Social Media