title: How to display the Subject Alternative Name of a certificate?
body: <p>The closest answer that I found is using "grep".</p>
  
  <pre><code>&gt; openssl x509 -text -noout -in cert.pem | grep DNS
  </code></pre>
  
  <p>Is there better way to do this? I only prefer command line.</p>
  
  <p>Thanks.</p>