Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/h0llyw00dzz/csr-generator
The CSR Generator is a Go package that provides functionality for generating Certificate Signing Requests (CSRs) and private keys. It simplifies the process of creating CSRs with specified common names and Subject Alternative Names (SANs).
https://github.com/h0llyw00dzz/csr-generator
cryptography go idiomatic-go pki-tools pkix security-tools ssl-certificates
Last synced: 4 days ago
JSON representation
The CSR Generator is a Go package that provides functionality for generating Certificate Signing Requests (CSRs) and private keys. It simplifies the process of creating CSRs with specified common names and Subject Alternative Names (SANs).
- Host: GitHub
- URL: https://github.com/h0llyw00dzz/csr-generator
- Owner: H0llyW00dzZ
- License: bsd-3-clause
- Created: 2024-07-05T03:27:49.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-07-05T21:24:10.000Z (4 months ago)
- Last Synced: 2024-07-06T23:03:31.830Z (4 months ago)
- Topics: cryptography, go, idiomatic-go, pki-tools, pkix, security-tools, ssl-certificates
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CSR Generator
[![Go Reference](https://pkg.go.dev/badge/github.com/H0llyW00dzZ/csr-generator/csr.svg)](https://pkg.go.dev/github.com/H0llyW00dzZ/csr-generator)
The CSR Generator is a Go package that provides functionality for generating Certificate Signing Requests (CSRs) and private keys. It simplifies the process of creating CSRs with specified common names and Subject Alternative Names (SANs).
## Features
- Generate CSRs with specified common names and SANs
- Generate corresponding ECDSA private keys
- Return CSRs and private keys in PEM format## Currently Supported
- [x] Private CAs that rely on domain and DNS names (e.g, [`Google Cloud Private CAs`](https://cloud.google.com/security/products/certificate-authority-service))
> [!NOTE]
> `Private CAs that rely on domain and DNS names` can be used for `Enterprise/DevOps/DevSecOps/Zero Trust` purposes.
>
> **Example:**
>
>
>
>
>
>
> The generated CSRs and private keys can be used with private CAs like Google Cloud Private CAs. Additionally, they can be bound to Cloudflare for the root CAs (e.g., [`Custom Origin Store`](https://developers.cloudflare.com/ssl/origin-configuration/custom-origin-trust-store/), [`Custom CAs`](https://developers.cloudflare.com/ssl/edge-certificates/custom-certificates/)) for front-end usage.- [x] Public CAs that rely on domain and DNS names
## TODO
- [ ] Support other elliptic curves (currently, only the P-256 curve is supported)
- [ ] Implement a configuration file for default values and settings
- [ ] Provide a web-based user interface for generating CSRs## License
The CSR Generator package is licensed under the BSD 3-Clause License. See the [LICENSE](LICENSE) file for more information.
## Acknowledgements
The CSR Generator package was inspired by the need for a simple and efficient way to generate CSRs and private keys in Go.