Skip to content

ARTEMIS-5599 Support key password in Netty SSL#6325

Open
hyperxpro wants to merge 1 commit intoapache:mainfrom
hyperxpro:ARTEMIS-5599
Open

ARTEMIS-5599 Support key password in Netty SSL#6325
hyperxpro wants to merge 1 commit intoapache:mainfrom
hyperxpro:ARTEMIS-5599

Conversation

@hyperxpro
Copy link
Copy Markdown
Contributor

Motivation:

A JKS keystore can have a private key password that differs from the keystore password (e.g. keytool -genkey -storepass keystore123 -keypass keypass123). Currently, Artemis uses keyStorePassword for both opening the keystore and accessing the private key, so such keystores cannot be used.

Modification:

Added a new keyPassword parameter to the Netty SSL acceptor and connector configuration. When set, it is used to access the private key; when not set, keyStorePassword is used as before.

Result:
Fixes: ARTEMIS-5599

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