Menu

Building a CSR generator on Spring Boot and Bouncy Castle (with post-quantum keys)
📰

Building a CSR generator on Spring Boot and Bouncy Castle (with post-quantum keys)

DEV Community: java·Avinash Chavan·6 days ago
#3P5gT3k5
#devtojava#devto#dev#subject#generate
Long article (959 words) — no AI summary yet.
Reading 0:00
15s threshold

Every TLS certificate starts with a certificate signing request: a small, signed file that says "this is my public key, and these are the names I want on the certificate". Making one usually means a long openssl req command and a careful look at the output to check you got the names right.

I built CSR Studio to make that one screen: pick a key, fill in the subject and the domain names, and get back a valid CSR, with the matching openssl command shown alongside for anyone who wants to do it by hand. It runs live as PQCert , and the source is on GitHub .

A personal project, not a product of my employer.

What it does

Generate : RSA (2048, 3072, 4096) or ECDSA (P-256, P-384), signed with SHA-256, 384 or 512. The private key comes out as PKCS#8, or as traditional PKCS#1 for RSA.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.