Skip to main content

gencsr

gencsr is a simple tool to generate an x.509 Certificate Signing Request (CSR).

It is opinionated and supports the most basic common use-case: A website with one or more DNS names. Anything more complex than that is better handled by other tools.

Usage

The hostname is always included in the list of DNS names (Subject Alternative Name).

You can either pass options on the command line:

$ gencsr --hostname example.com --dns-name www.example.com --dns-name login.example.com

Or you can use a config file, in which case no other command line options are allowed (they are not merged). This is equivalent to the previous example.

hostname = "example.com"
dns_names = [
    "www.example.com",
    "login.example.com",
]
$ gencsr --confg example.com.toml

Metadata

Release files for gencsr 0.1.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 gencsr 0.1.0
File Size Uploaded
gencsr-0.1.0.tar.gz 7.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gencsr 0.1.0
File Interpreter ABI Platform
gencsr-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.4 kB

Release files / gencsr-0.1.0.tar.gz

Download URL gencsr-0.1.0.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3253ca16d1272c48cbdd100747db81bf6811aac12a373f2d1eb850723e7c2184
BLAKE2b-256 checksum
How to use checksums
22dcd8820457330addb260b38aeeb6bc17557a9ac3022babf48faf65cdf25868
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

Release files / gencsr-0.1.0-py3-none-any.whl

Download URL gencsr-0.1.0-py3-none-any.whl
Size 11.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86dad5043f40ac210e300b6560a3829ce8a4a8d43e099e8aa64a21dff0c10a6c
BLAKE2b-256 checksum
How to use checksums
0af91301602c8ebb06cffa3e58ff4575f76f70b9b0208af24ed1195cc8d9c520
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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