[
https://issues.apache.org/jira/browse/CAMEL-19858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17767840#comment-17767840
]
Gerald Kallas edited comment on CAMEL-19858 at 9/22/23 6:04 AM:
----------------------------------------------------------------
??You need to use [file:/|file:///] for your resources.??
This did the trick, many thanks. The ticket is already marked as solved.
Best
Gerald
was (Author: catshout):
??You need to use [file:/|file:///] for your resources.??
This did the trick, many thanks. I'm going to close the ticket.
Best
Gerald
> Truststore can't be found with sslContextParameters
> ---------------------------------------------------
>
> Key: CAMEL-19858
> URL: https://issues.apache.org/jira/browse/CAMEL-19858
> Project: Camel
> Issue Type: Bug
> Components: camel-http4
> Affects Versions: 3.20.2
> Reporter: Gerald Kallas
> Priority: Major
>
> I've following code
> {code:java}
> <sslContextParameters id="sslContextParameters"
> xmlns="http://camel.apache.org/schema/blueprint">
> <keyManagers keyPassword="xxx">
> <keyStore resource="/opt/apache-karaf/etc/casisp.p12"
> password="xxx"/>
> </keyManagers>
> <trustManagers>
> <keyStore
> resource="/opt/apache-karaf/etc/truststore.jks" password="xxx"/>
> </trustManagers>
> </sslContextParameters>
> ...
> <to
> uri='https://server/api/v1/entity/integrationservice/delta?sslContextParameters=#sslContextParameters'/>{code}
> and I'm getting the error
> {code:java}
> javax.net.ssl.SSLException: Unexpected error:
> java.security.InvalidAlgorithmParameterException: the trustAnchors parameter
> must be non-empty{code}
> This error relates normally to the fact that a keystore or truststore can't
> be found.
> Both are there and the truststore contains the appropriate certificate.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)