A web-based Certificate Signing Request (CSR) generator written in Go, featuring an intuitive interface for creating CSRs with advanced cryptographic options.
- Generate CSRs with RSA or ECDSA keys
- Support for multiple key sizes (RSA: 2048-4096, ECDSA: P-256/384/521)
- Various signature algorithms (SHA256/384/512 with RSA/ECDSA)
- Various key usage options
- Multi-language support (English, Dutch)
- Dark/Light theme
- Basic and Advanced modes
- Support for SAN (Subject Alternative Names)
- Multiple DNS names
- Multiple IP addresses
- Copy-to-clipboard functionality
- Download-to-file functionality
- Mobile-responsive design
- Go 1.22 or higher
git clone https://github.com/WatskeBart/csrgen.git
cd csrgen
go mod download- Start the server:
go run csrgen.go- Open your browser and navigate to http://localhost:8080
❗A Go binary by default is only built for the OS and architecture of the machine doing the compilation
go build -o csrgen csrgen.goPick a image builder you like.
docker buildorpodman buildwork as well.
buildah build -f Containerfile -t csrgen:mybuild .-
Fill in the required certificate information:
- Common Name (domain name)
- Organization details
- Location information
- Contact email
-
Optional: Toggle Advanced mode for additional settings:
- Key type selection (RSA/ECDSA)
- Key size configuration
- Signature algorithm choice
- Additional DNS names
- IP addresses
- Key usage or extended key usage
-
Click "Generate CSR" to create your Certificate Signing Request
-
Copy the generated CSR and private key
- Private keys are generated locally in your browser
- No data is stored on the server
- Always keep your private key secure and confidential
See screenshots directory for interface previews showing advanced mode and theme switching.