A Certbot DNS plugin for LWS (Ligne Web Services).
This plugin allows Certbot to complete DNS-01 ACME challenges using the official LWS DNS API, enabling automatic issuance and renewal of Let's Encrypt certificates, including wildcard certificates.
- ✅ Automatic DNS-01 challenge
- ✅ Automatic certificate renewal
- ✅ Wildcard certificate support (
*.example.com) - ✅ Uses the official LWS DNS API
- ✅ Compatible with Certbot 2.x+
- ✅ Compatible with Nginx Proxy Manager (custom image or future native integration)
- Python 3.10+
- Certbot 2.x or newer
- An LWS account
- An API key generated from the LWS customer area
- The public IP address of the server must be authorized in the LWS API settings
git clone https://github.com/zergflag/certbot-dns-lws.git
cd certbot-dns-lws
python3 -m venv .venv
source .venv/bin/activate
pip install .Create a credentials file:
dns_lws_login = 123456
dns_lws_api_key = YOUR_API_KEYProtect it:
chmod 600 lws.inicertbot certonly \
--authenticator dns-lws \
--dns-lws-credentials lws.ini \
-d example.comcertbot certonly \
--authenticator dns-lws \
--dns-lws-credentials lws.ini \
-d example.com \
-d '*.example.com'certbot certonly \
--authenticator dns-lws \
--dns-lws-credentials lws.ini \
--dns-lws-propagation-seconds 60 \
-d example.com| Option | Description |
|---|---|
--dns-lws-credentials |
Credentials file |
--dns-lws-propagation-seconds |
Time to wait before validation |
Credentials file format:
dns_lws_login = 123456
dns_lws_api_key = YOUR_API_KEYDry run:
certbot renew --dry-runAutomatic renewal is fully supported.
The plugin has been successfully tested with:
- Nginx Proxy Manager 2.15.x
- DNS Challenge
- Wildcard certificates
- Automatic renewals
Support for native integration into NPM is planned.
The plugin has been successfully tested with:
- Standard certificates
- Wildcard certificates
- DNS-01 validation
- Automatic TXT record cleanup
- Certbot renew (
--dry-run) - Nginx Proxy Manager
Clone the repository:
git clone https://github.com/zergflag/certbot-dns-lws.gitInstall in editable mode:
pip install -e .Verify that the plugin is detected:
certbot pluginsPull requests, bug reports and feature requests are welcome.
MIT License.