1 Reply Latest reply on Sep 14, 2006 2:13 PM by Thomas Diesler

    problem with web service through SSL

    Peter Pei Guo Newbie

      I have SSL connector (port 8443) defined for my jboss application server. In server\default\deploy\jbossweb-tomcat55.sar\server.xml, I added:

      <Connector port="8443" address="${jboss.bind.address}"
       maxThreads="100" strategy="ms" maxHttpHeaderSize="8192"
       scheme="https" secure="true" clientAuth="false"
       keystorePass="12345678" sslProtocol = "TLS" />

      But when I deploy a web service, it does not seem to work with https (when I try to view its wsdl through https://blah:8443/blah?wsdl, it fails). I checked the WSDL file that was generated (through http://blah:8080/blah?wsdl), it has this portion at the end:

      <service name="SampleService">
       <port binding="tns:TrivialServiceBinding" name="TrivialServicePort">
       <soap:address location="http://it-peip:8080/jbossws-samples-rpcstyle" />

      Should it also have one more section (almost a duplicate) for 8443? Tomcat does have. I didn't make any change to the code, but did add the security-constriant to the web-inf\web.xml file:
       <description>Security constraint for Security Provider</description>
       <description>SSL required</description>

      What is wrong?