Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-8118

<key-passwords> in jboss-wsse-client.xml does not work.

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide

      1. Create a keystore with a private key that has a different password than the keystore:
      keytool -genkey -alias mykey -keypass changeit -storepass changeit2 -keystore client.keystore

      2. Create a jboss-wsse-client.xml config with <key-passwords>
      3. Set up a WS client that uses the WSS config.

      Show
      1. Create a keystore with a private key that has a different password than the keystore: keytool -genkey -alias mykey -keypass changeit -storepass changeit2 -keystore client.keystore 2. Create a jboss-wsse-client.xml config with <key-passwords> 3. Set up a WS client that uses the WSS config.
    • Affects:
      Release Notes
    • Release Notes Text:
      Hide
      A keystore can contain a private key that has a different password to the password of the keystore. To use the key in a web service client, the key-password pair must be defined in the <key-password> element in the <filename>jboss-wsse-client.xml</filename> configuration file. Previously, the WS client or WS endpoint that used the configuration file did not process the <key-password> element as the jbossws service failed to pick up the element. The service now detects and picks up the <key-password> element as expected and the problem no longer occurs.
      Show
      A keystore can contain a private key that has a different password to the password of the keystore. To use the key in a web service client, the key-password pair must be defined in the <key-password> element in the <filename>jboss-wsse-client.xml</filename> configuration file. Previously, the WS client or WS endpoint that used the configuration file did not process the <key-password> element as the jbossws service failed to pick up the element. The service now detects and picks up the <key-password> element as expected and the problem no longer occurs.
    • Release Notes Docs Status:
      Documented as Resolved Issue
    • Docs QE Status:
      NEW

      Description

      When you have a private key in a keystore that has a different password than the keystore itself, then you need to specify that password using the <key-passwords> element in jboss-wsse-client.xml. This element is not picket up starting with EAP 5.1.1. This is a regression from JBPAPP-5589.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  klape Kyle Lape
                  Reporter:
                  klape Kyle Lape
                  Writer:
                  Eva Kopalova
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: