Re: How to expose an https endpoint with Platform HTTP Main

2024-12-03 Thread Claudio Miranda
for camel-spring-boot there is a working example Go through ssl-camel-server of https://github.com/apache/camel-spring-boot-examples/tree/main/http-ssl example Em seg., 2 de dez. de 2024 às 19:36, escreveu: > > Hello, > I'm new to Apache Camel and I have trouble exposing an HTTPS endpoint while

Re: How to expose an https endpoint with Platform HTTP Main

2024-12-03 Thread paskov
Thanks everyone and especially to Claus! I spent a lot of time reading the documentation but I missed Main. Finally, I managed to do it by adjusting the application.properties: camel.ssl.enabled=true camel.ssl.certAlias=alias camel.ssl.keyStore=classpath:keystore/mydomain.com.p12 camel.ssl.keyStor

Re: How to expose an https endpoint with Platform HTTP Main

2024-12-03 Thread Pasquale Congiusti
If it helps, in Quarkus runtime this is pretty straightforward as it's achieved via 2 camel properties: quarkus.http.ssl.certificate.files=/etc/ssl/my-self-signed-ssl/server.crt quarkus.http.ssl.certificate.key-files=/etc/ssl/my-self-signed-ssl/server.key Then using the component normally exposes

Re: How to expose an https endpoint with Platform HTTP Main

2024-12-03 Thread Claus Ibsen
Hi You can configure SSL on camel-main in java or application.properties etc. https://camel.apache.org/components/4.8.x/others/main.html#_camel_embedded_http_server_only_for_standalone_not_spring_boot_or_quarkus_configurations this will then be used by camel-platform-http-main. However what you

Re: How to expose an https endpoint with Platform HTTP Main

2024-12-02 Thread ski n
I have never used the platform-http component myself, but from the documentation it says that: "The Platform HTTP is used to allow Camel to use the existing HTTP server from the runtime. For example, when running Camel on Spring Boot, Quarkus, or other runtimes. " So I think the first question is

How to expose an https endpoint with Platform HTTP Main

2024-12-02 Thread paskov
Hello, I'm new to Apache Camel and I have trouble exposing an HTTPS endpoint while using Platform HTTP Main. I have a valid, not expired Let's encrypt certificate. I'm using the default Vert.x web server. The code compiles well but I can only access the exposed endpoint over HTTP. I enabled the deb