Skip to content

ARTEMIS-5599 Support key password in Netty SSL#6325

Merged
jbertram merged 1 commit into
apache:mainfrom
hyperxpro:ARTEMIS-5599
Apr 1, 2026
Merged

ARTEMIS-5599 Support key password in Netty SSL#6325
jbertram merged 1 commit into
apache: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

@tabish121
Copy link
Copy Markdown
Contributor

The looks like a reasonable addition, ran the tests in CI and no regressions

@jbertram
Copy link
Copy Markdown
Contributor

jbertram commented Apr 1, 2026

Agreed. Nice work, @hyperxpro! Keep up the good work.

@jbertram jbertram merged commit 3573b66 into apache:main Apr 1, 2026
6 checks passed
@hyperxpro hyperxpro deleted the ARTEMIS-5599 branch April 1, 2026 20:14
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.

3 participants