0 Replies Latest reply on Apr 24, 2012 5:42 AM by andrea.pieralisi

    Web Service with Client Certificate along with WebApplication with only Server Certificate

    andrea.pieralisi

      Hi, I wander if someone coulde indicate me how to deploy in the same Jboss  AS 7.1 server, a WebService Application that require two-way certificate and a simple Web Application that uses only one way (server certificate) SSL certificate.

       

      Right now if I set up SSL Two Way using ssl connector in the standalone.xml

       

      <connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true">

                      <ssl name="https" key-alias="server" password="serverpassword" certificate-key-file="C:\OpenSSL\server.jks" verify-client="true"

                        ca-certificate-file="C:\OpenSSL\server.truststore"/>

      </connector>

       

      This works for every deployed application and I'm not able to allow client of WebApplcation to not use ClientCertificate.

       

       

      I wonder if there is a way to set the verify-client="true" onely at application lever so I could selectively decide wich application require client-certificate and wich don't.

       

      Thanks in advance.

       

      Andrea