HTTPS - tRestRequest - Help Please

Seven Stars

HTTPS - tRestRequest - Help Please

I installed a SSL certificate on the TESB Open source Runtime. I am able to access the admin console (9001 on the default secure port). I have done the changes in <KarafRuntime>/etc/org.ops4j.pax.web.cfg

 

 

org.osgi.service.http.port=8040
org.osgi.service.http.enabled=false

org.osgi.service.http.port.secure=9001
org.osgi.service.http.secure.enabled=true
#org.ops4j.pax.web.ssl.keystore=${karaf.base}/etc/keystores/keystore.jks
org.ops4j.pax.web.ssl.keystore=${karaf.base}/etc/keystores/push.jks
org.ops4j.pax.web.ssl.password=password
org.ops4j.pax.web.ssl.keypassword=password
#org.ops4j.pax.web.config.file=${karaf.base}/etc/jetty.xml


What do I need to do is access my service setup on tRestRequest via HTTPS also.
I have tried the following in the RestEndpoint as:

a. https://0.0.0.0:8443/
b. https://<publicIP>:8443/
c. / (relative URL)

None of them are working. In the tesb.log I see the following error:

Caused by: org.apache.cxf.service.factory.ServiceConstructionException
at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:219) ~[?:?]
at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.init(JAXRSServerFactoryBean.java:142) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:299) ~[?:?]
at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:980) ~[?:?]
at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:736) ~[?:?]
... 37 more
Caused by: java.lang.RuntimeException: Protocol mismatch for port 8443: engine's protocol is http, the url protocol is https

What am I missing here? Any help is appreciated.

 

Thank you

 

Moderator

Re: HTTPS - tRestRequest - Help Please

Hello,

We have redirected your issue to talend ESB experts and then come back to you as soon as we can.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.