title: How to read information from SSL certificate file
body: <p>I'm newbie to SSL certificate, i need to read validation date and expiration date from a local .crt file not a URL as shown in the following print screen:</p>
  
  <p><a href="https://i.stack.imgur.com/cxLf4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cxLf4.png" alt="enter image description here"></a></p>
  
  <p>So is there a JAVA Api that helps to do it.</p>