[
https://issues.apache.org/jira/browse/ARTEMIS-5599?focusedWorklogId=1012235&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1012235
]
ASF GitHub Bot logged work on ARTEMIS-5599:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 30/Mar/26 13:32
Start Date: 30/Mar/26 13:32
Worklog Time Spent: 10m
Work Description: jbertram commented on code in PR #6325:
URL: https://github.com/apache/artemis/pull/6325#discussion_r3009824610
##########
tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/unit/core/remoting/impl/ssl/SSLSupportTest.java:
##########
@@ -271,6 +271,64 @@ public void testContextWithBadTrustStorePassword() throws
Exception {
}
}
+ @TestTemplate
+ public void testContextWithDifferentKeyPassword() throws Exception {
+ // JKS keystore with key password "keypass123" different from store
password "securepass"
+ // Only JKS supports different key and store passwords
+ if (!"JKS".equals(storeType)) {
Review Comment:
The documentation you added indicates that this is supported for JCEKS. Why
not test it here as well?
Issue Time Tracking
-------------------
Worklog Id: (was: 1012235)
Time Spent: 20m (was: 10m)
> Support key password in Netty SSL
> ---------------------------------
>
> Key: ARTEMIS-5599
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5599
> Project: Artemis
> Issue Type: New Feature
> Reporter: Manuel K
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> This is a feature request for adding a new parameter for a key password in
> addition to the keystore password to Netty SSL:
> [https://activemq.apache.org/components/artemis/documentation/latest/configuring-transports.html#configuring-netty-ssl]
> The feature was originally discussed in the mailing list:
> [https://lists.apache.org/thread/5h71gp97dj7r5kzrwodkrgvl2yt85056]
> A JKS keystore, where the keystore is secured with a password and the
> key/certificate is secured with another password, can be created using Java's
> keytool:
> {code:java}
> keytool -genkey -alias brokertest -keyalg RSA -keystore brokertest.ks
> -storetype JKS -storepass keystore123 -keypass keypass123 {code}
> Other keystore types support this as well, but cannot be created using
> {_}keytool{_}.
> Suggested names for the parameter areĀ _keyPassword_ (maybe more appropriate
> in an independent environment) or _keyManagerPassword_ (a term coined by
> Elytron/WildFly).
> Let me know if any additional information is needed. Thank you very much in
> advance!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]