OpenSSL – Brzinska provjera certifikata weba

Tema

Kako na brzinu provjeriti certifikat web servera.

Postupak – tl;dr

  • openssl s_client -servername <%Domena%> -connect <%domena%>:443 | openssl x509 -noout -issuer -subject -dates
  • openssl s_client -servername mirkoweb.hr -connect mirkoweb.hr:443 | openssl x509 -noout -issuer -subject -dates

Rezultat

  • depth=2 C = GB, ST = Greater Manchester, L = Salford, O = COMODO CA Limited, CN = COMODO RSA Certification Authority # (tko je izdao certifikat)
  • verify return:1
  • depth=1 C = US, ST = TX, L = Houston, O = "cPanel, Inc.", CN = "cPanel, Inc. Certification Authority"
  • verify return:1
  • depth=0 CN = www.domena.tld
  • verify return:1
  • issuer=C = US, ST = TX, L = Houston, O = "cPanel, Inc.", CN = "cPanel, Inc. Certification Authority"
  • subject=CN = www.domena.tld # (kome je certifikat izdan)
  • notBefore=Jul 21 00:00:00 2021 GMT # (od kada do kada vrijedi)
  • notAfter=Oct 19 23:59:59 2021 GMT

Izvor: https://www.howtouselinux.com/post/openssl-command-to-generate-view-check-certificate

Slike

Video


ssl https xssl xhttps certificate xcertificate check xcheck

image_pdfimage_print