Skip to content

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).

License

Notifications You must be signed in to change notification settings

H0llyW00dzZ/csr-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSR Generator

Go Reference

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

Note

Private CAs that rely on domain and DNS names can be used for Enterprise/DevOps/DevSecOps/Zero Trust purposes.

Example:

example leaf cert issued by Private CAs example leaf cert issued by Private CAs

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, Custom CAs) for front-end usage.

  • 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 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.

About

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).

Topics

Resources

License

Stars

Watchers

Forks

Languages