Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-8588

Not possible to create Elytron Key Store without all optional attributes of capability-reference specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.1.0.DR12
    • 7.1.0.DR11
    • Web Console
    • None
      1. Start EAP in e.g. standalone mode with standalone-full-ha configuration
      2. Using web console navigate Configuration: Subsystems > Subsystem: Security - Elytron > Settings: Other > SSL > Key Store > Add

      When creating Elytron Key Store using web console user has to enter all Credential Reference Store, Credential Reference Alias, Credential Reference Type, Credential Reference Clear Text attributes despite they are optional and regardless if they are needed. Actually this behaviour would block Key Store creation in most cases!

      On the contrary following CLI command (with just one attribute clear-text) works:

      /subsystem=elytron/key-store=ks001:add(path=test.jks, relative-to=jboss.server.config.dir,type=JKS,credential-reference={clear-text=secret})
      {"outcome" => "success"}
      
      

              cmiranda@redhat.com Claudio Miranda
              pjelinek@redhat.com Pavel Jelinek
              Pavel Jelinek Pavel Jelinek
              Pavel Jelinek Pavel Jelinek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: