Uploaded image for project: 'Rampart'
  1. Rampart
  2. RAMPART-273

multiple rampart samples doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5
    • 1.5.1
    • rampart-tests
    • None
    • axis2 1.5.1, rampart 1.5rc1, java 1.6, java 1.5

    Description

      following samples fail with the same exception:
      basic 06
      basic 07
      basic 10
      policy 06
      policy 07

      exception is:
      Caused by: org.apache.ws.security.WSSecurityException: An unsupported token was provided (An X509 certificate with version 3 must be used for SKI. The presented cert has version: 1)\
      at org.apache.ws.security.message.token.SecurityTokenReference.setKeyIdentifierSKI(SecurityTokenReference.java:323)\
      at org.apache.ws.security.message.WSSecEncryptedKey.prepareInternal(WSSecEncryptedKey.java:258)\
      at org.apache.ws.security.message.WSSecEncrypt.prepare(WSSecEncrypt.java:257)\
      at org.apache.ws.security.message.WSSecEncrypt.build(WSSecEncrypt.java:291)\
      at org.apache.ws.security.action.EncryptionAction.execute(EncryptionAction.java:62)\

      the 'service' certificate in 'client.jks' seems to be a version 1 certificate.
      regards,
      gerhard

      Attachments

        1. client.jks
          4 kB
          Gerhard Presser
        2. service.jks
          3 kB
          Gerhard Presser
        3. sts.jks
          3 kB
          Gerhard Presser

        Activity

          People

            shankar Selvaratnam Uthaiyashankar
            gpresser Gerhard Presser
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: