verification

verify local cert

openssl s_client

debug mode

curl

  • or

openssl

get crt information

  • ca.crt

    • or

  • server.crt

get csr information

java ssl

  • extract cert from server:

  • negative test cert/keytool:

    • you should get something like

  • import cert into default keytool:

  • positive test cert / keytool:

  • import certificate into your local TrustStore

    -Djavax.net.ssl.trustStore will override the default truststore (cacerts). copy the default one and then add cert and set it via -Djavax.net.ssl.trustStore so default CA won't be lost.

  • list expired date for all in cacerts

[!NOTE|label:reference:]

  • access server, and retrieve certificate (accept default certificate 1)

  • extract certificate from created jssecacerts keystore

  • import certificate into system keystore

verify remote cert

openssl s_client

  • or

  • or using local client cert for debug purpose

  • or get enddate only

verify certs

  • get ssl only

curl

  • print ssl only

keytool

nmap

Last updated

Was this helpful?