Hi,

I have been trying to access a SSL enabled WebService URL. For which I have
configured my routes like this.

The SSL Configuration is like this.

<camel:sslContextParameters id="sslContextParameters">
        <camel:keyManagers keyPassword="changeit">
            <camel:keyStore resource="/u/tmp/tmp_keystore"
                    password="changeit"/>
        </camel:keyManagers>

        <camel:trustManagers>
            <camel:keyStore resource="/u/tmp/tmp_keystore"
                    password="changeit"/>
        </camel:trustManagers>
</camel:sslContextParameters>

And, I have the route like this.

<camelContext trace="true" xmlns="http://camel.apache.org/schema/blueprint";>
    <route>
        <from uri="jetty:http://org.myCom:9394/test/game"/>
        <to uri=”
https://myCompany:com:443/Data/game/ReceiptDetails?bridgeEndpoint=true&sslContextParametersRef=sslContextParameters”/>
</route>

I have From URL in HTTP. Only the target URL is of HTTPS. when i run the
route, I am getting the below exception.

javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: PKIX path
building failed: java.security.cert.CertPathBuilderException:
PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause
is: 
java.security.cert.CertPathValidatorException: Certificate chaining error

What does this error indicates ? As per my understanding, the Secure
certificate exchange is not happening ? , does anything needs to be updated
for from URL as well in terms of certificates ?

could someone share any information on this ?

Thanks in Advance,
Pradeep







--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Need-help-on-SSL-Configuration-for-Route-tp5714517.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to