Skip to main content

HTTPS/SSL for JAX-WS and JSF application

1 reply [Last post]
Joined: 2008-06-03


We have a Web services (JAX-WS) application using Apache Trinidad MyFaces deployed on Tomcat 5.5 and we are running into issues accessing the HTTPS URL. The Faces UI gets the data when accessing the HTTP Web services however when we hit the HTTPS, we get FacesException and ServletException.

Is there any configuration that we need to do so that UI handles the HTTPS Web service calls?

Please let me know if I am missing any details which would help you to guide me in the right direction.


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2008-07-04

When doing https requests JAX-WS tries to get server certificates from the keystore/truststore configured using System properties.
If this is not done, checking the certificate will and this the https request fails.

What is your full Exception stack trace?