How to get Certificate Chain from certificate

To obtain certificate chain from a local file:

openssl x509 -noout -subject -issuer -in domain.com.crt

To obtain certificate chain from a domain:

openssl s_client -connect domain.com:443 -showcerts

Write a Comment

Comment