Quantcast
Channel: Displaying a remote SSL certificate details using CLI tools - Server Fault
Viewing all articles
Browse latest Browse all 17

Displaying a remote SSL certificate details using CLI tools

$
0
0

In Chrome, clicking on the green HTTPS lock icon opens a window with the certificate details:

enter image description here

When I tried the same with cURL, I got only some of the information:

$ curl -vvI https://gnupg.org* Rebuilt URL to: https://gnupg.org/* Hostname was NOT found in DNS cache*   Trying 217.69.76.60...* Connected to gnupg.org (217.69.76.60) port 443 (#0)* TLS 1.2 connection using TLS_DHE_RSA_WITH_AES_128_CBC_SHA* Server certificate: gnupg.org* Server certificate: Gandi Standard SSL CA* Server certificate: UTN-USERFirst-Hardware> HEAD / HTTP/1.1> User-Agent: curl/7.37.1> Host: gnupg.org> Accept: */*

Any idea how to get the full certificate information form a command line tool (cURL or other)?


Viewing all articles
Browse latest Browse all 17

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>