You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/07/25 10:58:40 UTC
[camel] branch main updated: CAMEL-18291: SSLContextParameters parsePropertyValue support for certAlias property. (#8020)
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 3482c5f923a CAMEL-18291: SSLContextParameters parsePropertyValue support for certAlias property. (#8020)
3482c5f923a is described below
commit 3482c5f923a411f10fbe505d469ca97351991366
Author: robinvish2794 <10...@users.noreply.github.com>
AuthorDate: Mon Jul 25 13:58:35 2022 +0300
CAMEL-18291: SSLContextParameters parsePropertyValue support for certAlias property. (#8020)
---
.../main/java/org/apache/camel/support/jsse/SSLContextParameters.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/camel-api/src/main/java/org/apache/camel/support/jsse/SSLContextParameters.java b/core/camel-api/src/main/java/org/apache/camel/support/jsse/SSLContextParameters.java
index eb92f670dbd..8e24aad9691 100644
--- a/core/camel-api/src/main/java/org/apache/camel/support/jsse/SSLContextParameters.java
+++ b/core/camel-api/src/main/java/org/apache/camel/support/jsse/SSLContextParameters.java
@@ -276,7 +276,7 @@ public class SSLContextParameters extends BaseSSLContextParameters {
if (keyManagers[idx] instanceof X509KeyManager) {
try {
keyManagers[idx] = new AliasedX509ExtendedKeyManager(
- this.getCertAlias(),
+ this.parsePropertyValue(this.getCertAlias()),
(X509KeyManager) keyManagers[idx]);
} catch (Exception e) {
throw new GeneralSecurityException(e);