Re: HTTPS with Karaf 4.2.9 and underpinning undertow web server

2020-09-03 Thread Grzegorz Grzybek
Hello czw., 3 wrz 2020 o 09:10 Gerald Kallas napisaƂ(a): > Thanks Grzegorz. > > Yes, I did found the same in between and changed the undertow.xml. Finally > it works and undertow pax web seems a bit more flexible than jetty. Would > it be a further part of Pax Web 8 and Karaf as well? > Pax Web

Re: HTTPS with Karaf 4.2.9 and underpinning undertow web server

2020-09-03 Thread Gerald Kallas
Thanks Grzegorz. Yes, I did found the same in between and changed the undertow.xml. Finally it works and undertow pax web seems a bit more flexible than jetty. Would it be a further part of Pax Web 8 and Karaf as well? Best - Gerald > Grzegorz Grzybek hat am 03.09.2020 08:29 geschrieben: > >

Re: HTTPS with Karaf 4.2.9 and underpinning undertow web server

2020-09-02 Thread Grzegorz Grzybek
Hello Sorry for late response (holidays!), but I tried your example with tiny (not relevant) details. I used Karaf 4.2.9, but Camel 2.23.2. So I used "org.apache.camel.component.servlet.osgi.OsgiServletRegisterer" instead of "org.apache.camel.component.osgi.OsgiServletRegisterer", but no more cha

Re: HTTPS with Karaf 4.2.9 and underpinning undertow web server

2020-08-07 Thread Gerald Kallas
Hi, I tried this out but it doesnt work properly. (keystore and truststore are the same as with jetty setuo, they're valid). See below my configuration and the log. The HTTPS listener starts but neither the webconsole nor the servlet does work. On client side I'm getting Error: Client network

Re: HTTPS with Karaf 4.2.9 and underpinning undertow web server

2020-08-07 Thread Grzegorz Grzybek
Hello In theory (I can't check now), you have to: 1. comment out 2. ensure that org.ops4j.pax.web PID has org.osgi.service.http.enabled = false (so pax-web-undertow won't try to recreate the non-secure listener if it's not available in etc/undertow.xml) regards Grzegorz Grzybek pt., 7 sie 2020

Re: HTTPS with Karaf 4.2.9 and underpinning undertow web server

2020-08-07 Thread Gerald Kallas
Thanks, Grzegorz for the explanation. At the moment I'd be happy to use HTTPS (on 8443) only for all web related services (web console, servlets) w/ undertow and disable HTTP (on 8181). Could this be reached with the setup I have? Thanks - Gerald > Grzegorz Grzybek hat am 07.08.2020 10:47 ges

Re: HTTPS with Karaf 4.2.9 and underpinning undertow web server

2020-08-07 Thread Grzegorz Grzybek
Hello Unfortunately it is not possible to use the internal (managed by Pax Web) servlet runtime selectively - by specifying which listener (or more generally - virtual host) should be used for the servlets created and registered by Camel into HttpService (Pax Web) runtime. pax-web-jetty has parti

HTTPS with Karaf 4.2.9 and underpinning undertow web server

2020-08-07 Thread Gerald Kallas
Dear all, following the guidance in the ticket https://issues.apache.org/jira/browse/KARAF-6772 I was setting up a vanilla Karaf 4.2.9 with the following features feature:repo-add camel 3.4.2 feature:install pax-http-undertow feature:install camel camel-servlet webconsole I wonder how I can bi