Skip to content

Add support for encrypted private keys in PKCS#8 format #565

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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