lets-debug-helper
A small command-line wrapper around the Let's Debug public API. Hand it a domain name and it submits a diagnostic test, polls until the result is ready, and prints any problems found in a readable, color-coded format. Useful when you're trying to figure out why Let's Encrypt won't issue a certificate for a domain you control.
Install
pip install lets-debug-helper
Requires Python 3.13+.
Usage
lets-debug example.com
Wildcards are supported:
lets-debug "*.example.com"
For full options:
lets-debug --help
Example output
When the domain has issues:
Checking Domain: example.com
Testing ID: 2916375
URL: https://letsdebug.net/example.com/2916375
Waiting for test to complete....
Warning Type: IssueFromLetsEncrypt
Explanation: A test authorization for example.com to the Let's Encrypt staging
service has revealed issues that may prevent any certificate for
this domain being issued.
Details: Error creating new order :: Cannot issue for "example.com": ...
Severity: Error
When everything checks out:
Checking Domain: yourdomain.com
Testing ID: 2916380
URL: https://letsdebug.net/yourdomain.com/2916380
Waiting for test to complete....
All OK!
No issues were found with yourdomain.com. If you are having problems with
creating an SSL certificate, please visit the Let's Encrypt Community forums
and post a question there.
https://community.letsencrypt.org/
What it checks
The Let's Debug service runs a battery of pre-flight checks that frequently catch the real reasons certificate issuance fails. A non-exhaustive list:
- DNS resolution and authoritative-NS sanity
- CAA records that disallow Let's Encrypt
- Public-suffix-list / domain blocklist hits
- HTTP-01 reachability (port 80 open, no redirect loops, correct content type)
- TXT record state for DNS-01 (when applicable)
- Cloudflare / CDN-fronted SSL configuration warnings
- IPv4/IPv6 reachability mismatches
- Rate-limit-state hints from Let's Encrypt's staging environment
For the full list and underlying logic, see the Let's Debug source.
Exit codes
| Code | Meaning |
|---|---|
0 |
Test completed successfully (regardless of whether problems were reported) |
1 |
API error, JSON decode error, or test did not complete within 60 seconds |
Contributing
See CONTRIBUTING.md for dev setup, the make targets, and the release process.
License
MIT.
Acknowledgements
This tool is just a thin client. All the diagnostic work is done by the Let's Debug project — please consider supporting them.
Metadata
Release files for lets-debug-helper 1.6.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lets_debug_helper-1.6.16.tar.gz | 7.5 kB | Without provenance | Details for lets_debug_helper-1.6.16.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lets_debug_helper-1.6.16-py3-none-any.whl | Python 3 | none | any | Details for lets_debug_helper-1.6.16-py3-none-any.whl |
Total release size: 17.1 kB
Release files / lets_debug_helper-1.6.16.tar.gz
| Download URL | lets_debug_helper-1.6.16.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8220a5063c938e83f9fbae872bfbd3d2e481d8253a4be7dbb071fee28847d727
|
|
BLAKE2b-256 checksum How to use checksums |
6b2462046585f59f95791b1efc655a59a678c93fdddce2cdeea414ce84504ff4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.13.17 Linux/7.0.0-1017-azure
|
Release files / lets_debug_helper-1.6.16-py3-none-any.whl
| Download URL | lets_debug_helper-1.6.16-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1ab6e309c255c0d4b848882116ea7fb242c7cf036adc99263c6e47746cce5c49
|
|
BLAKE2b-256 checksum How to use checksums |
a84cce8914db0c92ab7b730c4e9f0164734f25281c68b07619b070f16b4e8ef9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.13.17 Linux/7.0.0-1017-azure
|
Security for lets-debug-helper 1.6.16
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.