0 Replies Latest reply on Dec 13, 2011 12:05 PM by jova73

    Problems with HTTPS

    jova73

      Hi,
      I've already made a post but I understand it was too much confused so I've modified it.

       

      I have to configure my J2EE application (running on JBoss 3.2.1, Tomcat 4.1.24, JDK 1.4.2) for use with HTTPS at the customer site. The customer already has a certificate, installed in every browser, obtained from a CA and they are using it for client authentication with another web application (running on Microsoft IIS).

      How can I use this certificate with JBoss? I tried to

      • export the certificate from the browser (as DER encoded .cer file)
      • import it in a keystore with

      keytool -import -trustcacerts -alias diapason -file mycertificate.cer -keystore mykeystore.keystore

       

      • configure server\test\deploy\jbossweb-tomcat.sar\META-INF\jboss-service.xml with
           
        ...
          <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
        minProcessors="350"
        maxProcessors="700"
        enableLookups="true"
        acceptCount="100"
        debug="0"
        connectionTimeout="60000"
        port="8543"
        scheme="https"
        secure="true">
          <Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"        
           keyAlias="myalias"
           keystoreFile="${jboss.server.home.dir}/conf/mykeystore.keystore"
           keystorePass="mypassword"
           protocol="TLS">
          </Factory>
        </Connector>
        ...

       

      JBoss (with -Djavax.net.debug=all) starts without problems but when I open a page I get a "The page cannot be displayed" error and in the server.log I find

      ...
      javax.net.ssl.SSLHandshakeException: no cipher suites in common     
      ...

       

      What can I do?

       

       

      Thanks,
      Andrea