title: Java code signing certificate issue
body: <p>I generate a certificate signing request like this: </p>
  
  <pre><code>keytool -genkey -alias server -keyalg RSA -keysize 2048 -keystore xxxx -dname "CN=www.example.com,OU=Infrastructure and Operations, O=ACME, Inc., L=Test, ST=Test, C=US" &amp;&amp; keytool -certreq -alias server -file xxxx.csr -keystore xxxx.jks
  </code></pre>
  
  <p>When a code signing certificate is created, for some reason the CN is set to the organization value instead of the FQDN, that I listed originally <code>www.example.com</code></p>
  
  <p>So the cert has <strong><code>CN=ACME, Inc.</code></strong><code>,OU=Infrastructure and Operations, O=ACME, Inc., L=Test, ST=Test, C=US</code></p>
  
  <p>Not sure why it didn't take the FQDN.</p>