multiple rampart samples doesn't work
-------------------------------------

                 Key: RAMPART-273
                 URL: https://issues.apache.org/jira/browse/RAMPART-273
             Project: Rampart
          Issue Type: Bug
          Components: rampart-tests
    Affects Versions: 1.5
         Environment: axis2 1.5.1, rampart 1.5rc1, java 1.6, java 1.5
            Reporter: gerhard presser
            Assignee: Ruchith Udayanga Fernando
            Priority: Minor
             Fix For: 1.5


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to