title: Subject Alternative Name not present in certificate
body: <p>I have generated a CSR that includes the field subject alt names:</p>
  
  <pre><code>openssl req -out mycsr.pem -new -key mykey.pem -days 365
  </code></pre>
  
  <p>When I inspect this it looks as expected with a new field present:</p>
  
  <pre><code>X509v3 Subject Alternative Name:
      DNS: my.alt.dns
  </code></pre>
  
  <p>However when I use this to sign a certificate that field is omitted for some reason.</p>
  
  <p>I generate it with the following command:</p>
  
  <pre><code>openssl ca -out mycert.pem -infiles mycsr.pem
  </code></pre>
  
  <p>Can it be that my CA cert have to include the same Alt name for it to be included?</p>