title: How to retrieve issuer alternative name for ssl certificate by openssl
body: <p>I can get the subject alternative name like </p>
  
  <pre><code> X509_NAME_get_text_by_NID(X509_get_subject_name(x), NID_subject_alt_name, hc-&gt;https_domain_name, 256)
  </code></pre>
  
  <p>With same method by changing 2. parameter to <strong>NID_issuer_alt_name</strong> I am expecting to get issuer name like; </p>
  
  <pre><code>X509_NAME_get_text_by_NID(X509_get_subject_name(x), NID_issuer_alt_name, hc-&gt;https_ca_name, 256);
  </code></pre>
  
  <p>But instead I am getting a empty string . How can I retrieve issuer alternative name correctly?</p>