Is there a way to obtain a website’s certificate details using Apache’s HttpClient (v4)? I’m able to get a website’s certificate using javax.net.ssl.HttpsURLConnection.getServerCertificates(), but I’m using Apache’s HttpClient for my connections and would like to use the same library.
I need information like the certificate’s issuer, expiration, algorithm, etc.
Hope this helps.