Skip to content

Certbot plugin to automate dns-01 challenge for Namecheap.

License

Notifications You must be signed in to change notification settings

ZiadMansourM/cheapbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Cheapbot

DALL·E 2023-12-26 13 57 02 - Design a logo for 'CheapBot' with a focus on the automation of DNS-01 challenges for NameCheap services  The logo should visually convey high-tech aut

This plugin helps automate the dns-01 challenge using Namecheap API.

Repo Link
Docker Hub 🔗
PyPi 🔗

🔧 Usage

ziadh@Ziads-MacBook-Air example % tree
.
├── docker-compose.yml
└── namecheap.ini

0 directories, 2 files
version: '3'
services:
  certbot:
    image: ziadmmh/cheapbot:v0.0.3
    volumes:
      - ./certs:/etc/letsencrypt/live
      - ./logs:/var/log/letsencrypt
      - ./namecheap.ini:/root/.secrets/certbot/namecheap.ini
    command: >
      certbot certonly
      --authenticator cheapbot -v
      --cheapbot-propagation-seconds 600
      --cheapbot-credentials /root/.secrets/certbot/namecheap.ini
      --non-interactive --expand
      --force-renewal
      --server https://acme-v02.api.letsencrypt.org/directory
      --agree-tos --email "EMAIL"
      --cert-name DOMAIN_NAME
      -d SUBDOMAIN.DOMAIN_NAME, www.DOMAIN_NAME