How to get Certificate Chain from certificateTo obtain certificate chain from a local file:openssl x509 -noout -subject -issuer -in domain.com.crtTo obtain certificate chain from a domain:openssl s_client -connect domain.com:443 -showcerts