Difference between revisions of "Openssl check website certificate"

From vpsget wiki
Jump to: navigation, search
Line 5: Line 5:
 
   <ommited>
 
   <ommited>
 
         Verify return code: 0 (ok)
 
         Verify return code: 0 (ok)
 +
 +
 +
To see more details including cert use this command:
 +
echo | \
 +
    openssl s_client -servername www.vpsget.com -connect www.vpsget.com:443 2>/dev/null | \
 +
    openssl x509 -text

Revision as of 14:44, 22 October 2018

  • DRAFT*
openssl s_client -showcerts -connect vpsget.com:443
You should see something like 
  <ommited>
       Verify return code: 0 (ok)


To see more details including cert use this command:

echo | \
   openssl s_client -servername www.vpsget.com -connect www.vpsget.com:443 2>/dev/null | \
   openssl x509 -text