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

Wildfly Elytron Tool, location is required even for non-filebased type e.g. PKCS11

    XMLWordPrintable

Details

    • Rejected
    • Workaround Exists
    • Hide

      use an empty file

      • touch ~/workaround
      • ./elytron-tool.sh credential-store -c -a my-key -x pass123+ -u "keyStoreType=PKCS11;external=true;keyAlias=my-key;externalPath=/home/ngibor/test" --debug -l ~/workaround
        Credential store password:
        Confirm credential store password:
        Alias "my-key" has been successfully stored
      Show
      use an empty file touch ~/workaround ./elytron-tool.sh credential-store -c -a my-key -x pass123+ -u "keyStoreType=PKCS11;external= true ;keyAlias=my-key;externalPath=/home/ngibor/test" --debug -l ~/workaround Credential store password: Confirm credential store password: Alias "my-key" has been successfully stored
    • Hide
      ./elytron-tool.sh credential-store -c -a my-key -x pass123+ -u "keyStoreType=PKCS11;external=true;keyAlias=my-key;externalPath=/home/ngibor/test" --debug
      
      Credential store password: Confirm credential store password: Exception encountered executing the command: java.lang.NullPointerException     at sun.nio.fs.UnixPath.normalizeAndCheck(UnixPath.java:77)     at sun.nio.fs.UnixPath.<init>(UnixPath.java:71)     at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:280)     at java.nio.file.Paths.get(Paths.java:84)     at org.wildfly.security.tool.CredentialStoreCommand.addAlias(CredentialStoreCommand.java:500)     at org.wildfly.security.tool.CredentialStoreCommand.execute(CredentialStoreCommand.java:415)     at org.wildfly.security.tool.ElytronTool.main(ElytronTool.java:84)     at org.jboss.modules.Module.run(Module.java:353)     at org.jboss.modules.Module.run(Module.java:321)     at org.jboss.modules.Main.main(Main.java:617)  
      Show
      ./elytron-tool.sh credential-store -c -a my-key -x pass123+ -u "keyStoreType=PKCS11;external= true ;keyAlias=my-key;externalPath=/home/ngibor/test" --debug Credential store password: Confirm credential store password: Exception encountered executing the command: java.lang.NullPointerException     at sun.nio.fs.UnixPath.normalizeAndCheck(UnixPath.java:77)     at sun.nio.fs.UnixPath.<init>(UnixPath.java:71)     at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:280)     at java.nio.file.Paths.get(Paths.java:84)     at org.wildfly.security.tool.CredentialStoreCommand.addAlias(CredentialStoreCommand.java:500)     at org.wildfly.security.tool.CredentialStoreCommand.execute(CredentialStoreCommand.java:415)     at org.wildfly.security.tool.ElytronTool.main(ElytronTool.java:84)     at org.jboss.modules.Module.run(Module.java:353)     at org.jboss.modules.Module.run(Module.java:321)     at org.jboss.modules.Main.main(Main.java:617)

    Description

      Wildfly Elytron Tool, location is required even for non-filebased type e.g. PKCS11

      Attachments

        Issue Links

          Activity

            People

              rhn-support-rmartinc Ricardo Martin Camarero
              rhn-support-ngibor Nikita Gibor (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: