Openssl s client

From wikieduonline
Revision as of 07:10, 6 October 2020 by Welcome (talk | contribs)
Jump to navigation Jump to search
  • openssl s_client -showcerts -connect YOUR_DOMAIN.COM:443
  • echo -n | openssl s_client -connect HOST:PORTNUMBER | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/$SERVERNAME.cert [1]
depth=0 C = XX, ST = YY, L = XXXXX, O = ORGA, OU = RND, CN = YOUR_DOMAIN.COM
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 C = XX, ST = YY, L = XXXXX, O = ORGA, OU = RND, CN = YOUR_DOMAIN.COM
verify error:num=21:unable to verify the first certificate
verify return:1
DONE

See also

Advertising: