Skip to content

tls: consider supporting PKCS12-encoded keys and certificates #65665

Open
@bobvawter

Description

@bobvawter

We only seem to support flat, DER/PEM-encoded X509 certificates (this is not documented).

Java shops often use PKCS12 to bundle certificate chains and/or keys with their associated certificates, so it would be nice to support loading certificates and key materials from these archives or improving the resulting error message to point to a doc about converting from PKCS12 to PEM-encoded, flat certificates.

For future searches: something along the lines of openssl pkcs12 -export -noenc -chain -in cert.pkcs12 -out ca.crt will do the job.

cc: @knz @aaron-crl

Jira issue: CRDB-7707

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-authenticationPertains to authn subsystemsA-cc-enablementPertains to current CC production issues or short-term projectsA-securityC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)O-supportWould prevent or help troubleshoot a customer escalation - bugs, missing observability/tooling, docsP-3Issues/test failures with no fix SLAT-server-and-securityDB Server & Security

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions