1 Reply Latest reply: May 18, 2012 3:21 PM by 938331 RSS

    Can you add multiple SANs to a keypair with keytool

    938331
      I am using the JDK 7 keytool to generate a keypair. I need to add multiple X509 Subject Alternative Names (SANs) to the key. My command line includes multiple -ext san=DNS:xxxx entries and is accepted in line with the documentation that states"This option can appear multiple times."

      However, only the last -ext entry appears to be recognized and built into the keypair. How can I successfully generate a keypair with multiple SANs and have them all incorporated?