title: Getting Server Certificate/SSL in Servlet
body: <p>I have a web application (.war file) that can be deployed in Tomcat or Jetty or any other servlet container. I want to know the Servlet container's SSL certificate details (e.g. when the certificate will expire, who is the issuer etc.)</p>
  
  <p>Is it possible to get the Server Certificate or SSL details from a Servlet?</p>