Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Installing SSL certificate in talend ESB Runtime

Hello All,
Does anyone know to install an SSL certificate in apache Karaf, so my clients can communicate to my Webservices usinh HTTPS?
I will get a certificate from a trsuted CA.
Regards and thanks for your replies.

Labels (3)
5 Replies
Anonymous
Not applicable
Author

Hi Isoto,
- keystores are in etc/keystores folder, create a new keystore with your keypair and the signed imported certificate
- edit etc/org.ops4j.pax.web.cfg to add:
org.osgi.service.http.port.secure=8443
org.osgi.service.http.secure.enabled=true
org.ops4j.pax.web.ssl.keystore=etc/keystores/test.jks
org.ops4j.pax.web.ssl.password=password
org.ops4j.pax.web.ssl.keypassword=password

and it should be running.
Carpe diem
Gabriel
Anonymous
Not applicable
Author

I have same problem. I set my trust store how you indicated, but I get an exception:
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
My https client is a tRest component.
Any idea how to solve this?
Regards
Pierluca
Anonymous
Not applicable
Author

Hi Pierluca,
settings in the etc/org.ops4j.pax.web.cfg file are configuring the Karaf container as server side SSL endpoint, so how it will behave against HTTP(S) clients. I don't thing it has anything to do with tREST component, what is used as HTTP client. I will have a look at the component when having some time, but no promises 0683p000009MPcz.png
in theory - you could build a mediation proxy route (or a pure Camel route) with sslContextParametersRef defined ( http://camel.apache.org/http4.html ) to separate the authentication concern.
Gabriel
Anonymous
Not applicable
Author

Hi Gabriel. Thanks for the response. Yes I realize that. Finally we discover that karaf use a different handshake sequence from Jboss 7. So we added this parameter to karaf line command in trun script:
-Dhttps.protocols=TLSv1
Now it works.
Regards
Pierluca
_AnonymousUser
Specialist III

After implementing SSL Certificate i am getting jetty error 404 exception.Where i am going wrong?