Replace openssl dependency in CA scripts with native Go implementation #18

Open
opened 2026-04-29 17:08:21 +02:00 by heiko · 0 comments
Owner

The CA scripts in CA/ (mkca, mkssl-pem) shell out to openssl for:

  • Generating RSA keys
  • Creating CSRs
  • Signing certificates (self-signed CA and issued certs)
  • Revoking certificates and generating CRLs

Since we already removed the openssl dependency from the server (PKCS12 bundling is now pure Go via software.sslmate.com/src/go-pkcs12), the CA scripts are the last remaining consumer of the openssl
binary.

Rewriting CA management as a Go tool would:

  • Remove the external openssl dependency entirely
  • Make cross-compilation simpler (single static binary)
  • Allow better integration with the rest of the cert-proxy codebase
The CA scripts in CA/ (mkca, mkssl-pem) shell out to openssl for: - Generating RSA keys - Creating CSRs - Signing certificates (self-signed CA and issued certs) - Revoking certificates and generating CRLs Since we already removed the openssl dependency from the server (PKCS12 bundling is now pure Go via software.sslmate.com/src/go-pkcs12), the CA scripts are the last remaining consumer of the openssl binary. Rewriting CA management as a Go tool would: - Remove the external openssl dependency entirely - Make cross-compilation simpler (single static binary) - Allow better integration with the rest of the cert-proxy codebase
heiko self-assigned this 2026-04-29 17:08:21 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
heiko/cert-proxy#18
No description provided.