You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "JiriOndrusek (via GitHub)" <gi...@apache.org> on 2024/05/22 08:52:22 UTC
[PR] Test support certicate [camel-quarkus]
JiriOndrusek opened a new pull request, #6116:
URL: https://github.com/apache/camel-quarkus/pull/6116
fixes https://github.com/apache/camel-quarkus/issues/5967
first WIP of leveraging https://github.com/cescoffier/certificate-generator/tree/main
Work is not complete yet. This draft is meant to see CI results
<!-- Uncomment and fill this section if your PR is not trivial
[ ] An issue should be filed for the change unless this is a trivial change (fixing a typo or similar). One issue should ideally be fixed by not more than one commit and the other way round, each commit should fix just one issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful and properly spelled subject line and body. Copying the title of the associated issue is typically enough. Please include the issue number in the commit message prefixed by #.
[ ] The pull request description should explain what the pull request does, how, and why. If the info is available in the associated issue or some other external document, a link is enough.
[ ] Phrases like Fix #<issueNumber> or Fixes #<issueNumber> will auto-close the named issue upon merging the pull request. Using them is typically a good idea.
[ ] Please run mvn process-resources -Pformat (and amend the changes if necessary) before sending the pull request.
[ ] Contributor guide is your good friend: https://camel.apache.org/camel-quarkus/latest/contributor-guide.html
-->
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Test support certicate [camel-quarkus]
Posted by "JiriOndrusek (via GitHub)" <gi...@apache.org>.
JiriOndrusek commented on PR #6116:
URL: https://github.com/apache/camel-quarkus/pull/6116#issuecomment-2142472070
@jamesnetherton the first 2 "groups" were successful.
I encountered a few issues with the external-docker. Unfortunately I have some local issues, so I'm using FIPS machine as an external docker, therefore I think that there is no problem.
Can you re-check following modules with external-docker?
- Mail
- Nats
- Kafka SASL SSL
- Kafka SSL
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Test support certicate [camel-quarkus]
Posted by "JiriOndrusek (via GitHub)" <gi...@apache.org>.
JiriOndrusek commented on PR #6116:
URL: https://github.com/apache/camel-quarkus/pull/6116#issuecomment-2144388662
> > Can you re-check following modules with external-docker?
>
> I checked and they all passed 👍
>
> So I guess we're good to merge this?
Yes, we are good.
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Test support certicate [camel-quarkus]
Posted by "JiriOndrusek (via GitHub)" <gi...@apache.org>.
JiriOndrusek commented on PR #6116:
URL: https://github.com/apache/camel-quarkus/pull/6116#issuecomment-2142155576
Thank for finding that!
This is just oversight on my side. I refactored away `docker=true` on paho and paho mqtt5 test classes.
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Test support certicate [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Test support certicate [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton merged PR #6116:
URL: https://github.com/apache/camel-quarkus/pull/6116
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Test support certicate [camel-quarkus]
Posted by "JiriOndrusek (via GitHub)" <gi...@apache.org>.
JiriOndrusek commented on PR #6116:
URL: https://github.com/apache/camel-quarkus/pull/6116#issuecomment-2142188739
I'll check again all affected tests
- on FIPS machine
- with quarkus-platform
- with external docker host
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Test support certicate [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on PR #6116:
URL: https://github.com/apache/camel-quarkus/pull/6116#issuecomment-2144385017
> Can you re-check following modules with external-docker?
I checked and they all passed 👍
So I guess we're good to merge this?
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org