0 Replies Latest reply on Jun 15, 2010 3:01 PM by Queenie Chow

    SSL communications between two jboss app server

    Queenie Chow Newbie

      Hi,

       

      I'm new to jboss, and have some questions regarding SSL.

       

      Currently, the SSL certificate will only communicate between the apache web server and jboss 4.2.3 app server.  I would like to find out how to implement secure communcications between two jboss app servers?

       

      jboss - 4.2.3

      apache - 2.2.15

       

      Server A will served as the backend app server

      Server B will server as a client frontend app server and want to communicate with Server A

      Server  B application will make a web services request to Server A  application

       

      I  imported Server A trusted CA cert and CA signed cert to Server B  keystore and failed to connect from  the application.

       

      I also tried the following:

       

      exported Server A cert and CA cert and imported to Client Server B

      exported Client Server B cert and CA cert and imported to Server A

       

      I received the following error:

       

      javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
      AxisFault
      faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
      faultSubcode:
      faultString: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
      faultActor:
      faultNode:
      faultDetail:
              {http://xml.apache.org/axis/}stackTrace:javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

       

       

      Thanks,

      Queenie