title: How to add multiple key usages to a certificate when using Java keytool
body: <p>I am trying to add multiple key usages to a certificate when using java keytool to generate the certificate.  It is only picking up the last one listed.</p>
  
  <pre><code>keytool -genkeypair -keystore keystore.jks -validity 3650 -alias test 
          -keysize 2048 -keyalg RSA -storetype JKS 
          -ext KeyUsage=digitalSignature -ext KeyUsage=keyEncipherment 
           -ext KeyUsage=keyCertSign
  </code></pre>
  
  <p>The documentation says you can use the -ext argument many times.
  What am I doing wrong?</p>