A small cli utility for automating the letsencrypt dns-01 challenge for domains hosted by inwx. This allows you to obtain wildcard certificates from letsencrypt.
sudo dpkg -i <path_to_the_deb_file>
/usr/bin/
./etc/
to /usr/lib/letsencrypt-inwx/
cargo install letsencrypt-inwx
/etc/letsencrypt-inwx-cred
sudo chmod 600 /etc/letsencrypt-inwx-cred
sudo certbot certonly -n --agree-tos --email <your_email> --server https://acme-v02.api.letsencrypt.org/directory --preferred-challenges=dns-01 --manual --manual-auth-hook /usr/lib/letsencrypt-inwx/certbot-inwx-auth --manual-cleanup-hook /usr/lib/letsencrypt-inwx/certbot-inwx-cleanup --manual-public-ip-logging-ok -d <your_domain>
~/.config/letsencrypt-inwx-cred
if you want to run certbot as non-root usersh
INWX_USER=username
INWX_PASSWD=password
docker run --rm -it --env-file <your-env-file> -v /etc/letsencrypt:/etc/letsencrypt kegato/letsencrypt-inwx certonly --email <your_email> --preferred-challenges=dns-01 --manual --manual-auth-hook /usr/lib/letsencrypt-inwx/certbot-inwx-auth --manual-cleanup-hook /usr/lib/letsencrypt-inwx/certbot-inwx-cleanup --manual-public-ip-logging-ok -d <your_domain>
/etc/letsencrypt/live/<your_domain>/
docker run --rm -it --env-file <your-env-file> -v /etc/letsencrypt:/etc/letsencrypt kegato/letsencrypt-inwx renew
letsencrypt-inwx create -c <credential_file> -d _acme-challenge.your-domain.com -v <acme_token>
letsencrypt-inwx delete -c <credential_file> -d _acme-challenge.your-domain.com
libssl-dev
and pkg-config
are required when building on Ubuntu / Debian see here.
cargo install cargo-deb
cargo deb
to build the packagecargo build --release
to build the letsencrypt-inwx
executable