tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gil <>
Subject Retrieve certificates within a servlet
Date Thu, 27 Feb 2003 15:50:38 GMT
I've a secure web application with servlets and an application that 
accesses the servlets. In my application I open a SSLClientContext and I 
establish the trusted certificates:

    SSLClientContext context = new SSLClientContext();
    context.addClientCredentials(<CA certificate>,<Private Key CA>);
    context.addTrustedCertificate(<Server certificate>);

    HttpsURLConnection servletConn = new HttpsURLConnection(<URL to my 

How can I obtain within my servlet the previous context to retrieve the 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message