Skip to main content

# Letsencrypt GenCSR #

A very fin wrapper around letsencrypt which allows the construction of a CSR which is compatible with the letsencrypt toolchain.

Use this, if you don’t want to generate new private keys every time when requesting letsencrypt certificates. Even though this is generally a good security practice it might be problematic when using public key pinning.

## Installation ##

` pip install letsencrypt_gencsr `

## Usage ##

` letsencrypt-gencsr-helper gencsr --key privkey.pem -d my.awesome.domain.net awesome.domain.net domain.net -o request.csr `

This generates form the given key “privkey.pem” and the domains “my.awesome.domain.net”, “awesome.domain.net” and “domain.net” a CSR file (in request.csr) compatible with letsencrypt which can be passed to the toolchain through the –csr flag:

` letsencrypt certonly --csr request.csr --webroot --renew-by-default --agree-tos -w /var/www `

## Letsencrypt proxy ##

As of Version 0.2.0 the letsencrypt-gencsr-helper acts as a proxy of the letsencrypt cli interface and has the same commands.

This is done to support the additional –private-key parameter. It allows to feed a pre defined private key to the certonly certificate request:

` letsencrypt-gencsr-helper certonly --private-key privatekey.pem --webroot -w /var/www -d example.com `

Of course the same functionality also works with the run command.

## License ##

The application is licensed under the [MIT license](http://opensource.org/licenses/MIT). The used letsencrypt library is licensed under the [Apache 2.0 license](http://opensource.org/licenses/apache-2.0).

Metadata

Release files for letsencrypt_gencsr 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for letsencrypt_gencsr 0.2.0
File Size Uploaded Provenance Actions
letsencrypt_gencsr-0.2.0.tar.gz 11.4 kB Without provenance Details for letsencrypt_gencsr-0.2.0.tar.gz

Release files / letsencrypt_gencsr-0.2.0.tar.gz

Download URL letsencrypt_gencsr-0.2.0.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
dcd603dafcf73ec78d55a2e837770f28f671da5abd6badd7be7e8edadd605622
BLAKE2b-256 checksum
How to use checksums
522075b96c98fc92d287c5bc3a8560e52a658d5cb1be04f75295eca2e70b2739
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for letsencrypt_gencsr 0.2.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page