jamesnetherton commented on PR #6116:
URL: https://github.com/apache/camel-quarkus/pull/6116#issuecomment-2141762544

   Thanks a lot for this @JiriOndrusek!
   
   Please can you check this can work in the quarkus-platform. I tested a few 
things (mail & kafka) and they passed. But paho and paho-mqtt5 were failing for 
me with a remote docker host, due to certificate validation errors.
   
   ```
   Caused by: org.apache.camel.FailedToCreateProducerException: Failed to 
create Producer for endpoint: 
paho://ssl-test-queue?brokerUrl=ssl%3A%2F%2F10.211.55.4%3A32841&httpsHostnameVerificationEnabled=false&retained=true&sslClientProps.com.ibm.ssl.keyStore=xxxxxx&sslClientProps.com.ibm.ssl.keyStorePassword=xxxxxx&sslClientProps.com.ibm.ssl.trustStore=%2Fvar%2Ffolders%2Fk6%2Fn3w463p55p90hngvrn0kfts00000gn%2FT%2Fkeystore-12375241441257024880.p12&sslClientProps.com.ibm.ssl.trustStorePassword=xxxxxx&sslHostnameVerifier=%23hostnameVerifier.
 Reason: org.apache.camel.RuntimeCamelException: MqttException (0) - 
javax.net.ssl.SSLHandshakeException: PKIX path validation failed: 
java.security.cert.CertPathValidatorException: Path does not chain with any of 
the trust anchors
        at 
org.apache.camel.support.cache.DefaultProducerCache.acquireProducer(DefaultProducerCache.java:143)
        at 
org.apache.camel.support.cache.DefaultProducerCache.send(DefaultProducerCache.java:159)
        at 
org.apache.camel.impl.engine.DefaultProducerTemplate.send(DefaultProducerTemplate.java:176)
        at 
org.apache.camel.impl.engine.DefaultProducerTemplate.send(DefaultProducerTemplate.java:172)
        at 
org.apache.camel.impl.engine.DefaultProducerTemplate.send(DefaultProducerTemplate.java:153)
        at 
org.apache.camel.impl.engine.DefaultProducerTemplate.sendBody(DefaultProducerTemplate.java:187)
        at 
org.apache.camel.impl.engine.DefaultProducerTemplate.sendBody(DefaultProducerTemplate.java:195)
        at 
org.apache.camel.quarkus.component.paho.PahoResource.producePahoMessage(PahoResource.java:91)
        at 
org.apache.camel.quarkus.component.paho.PahoResource_ClientProxy.producePahoMessage(Unknown
 Source)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to