Skip to content

Conversation

limbernie
Copy link

@limbernie limbernie commented Jul 21, 2025

The current mTLS setup only supports non-encrypted private keys for all CA, client and server private keys. Given that the private keys are stored on disk without password protection, I propose to add support for encrypted private keys in PKCS#8 format.

Add the following flag to both client and server subcommands:

--tls-keypass, Specifies a password to decrypt a PEM-encoded encrypted
private key in PKCS#8 format (mutual-TLS).

@limbernie limbernie changed the title Added support for encrypted private keys in PKCS#8 format Add support for encrypted private keys in PKCS#8 format Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant