You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "gerhard presser (JIRA)" <ji...@apache.org> on 2009/12/21 11:39:18 UTC

[jira] Updated: (RAMPART-273) multiple rampart samples doesn't work

     [ https://issues.apache.org/jira/browse/RAMPART-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

gerhard presser updated RAMPART-273:
------------------------------------

    Attachment: service.jks
                client.jks

with following keystores, everything works fine for me.
added client/service pk/tc with version 3.
regards,
 gerhard

> 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
>
>         Attachments: client.jks, service.jks
>
>
> 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.