You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by "Davide Romanini (JIRA)" <ji...@apache.org> on 2005/07/26 12:20:18 UTC

[jira] Created: (WSS-7) X509v1 certs in the keystore prevent correct handling of SubjectKeyIdentifier

X509v1 certs in the keystore prevent correct handling of SubjectKeyIdentifier
-----------------------------------------------------------------------------

         Key: WSS-7
         URL: http://issues.apache.org/jira/browse/WSS-7
     Project: WSS4J
        Type: Bug
 Environment: any
    Reporter: Davide Romanini
 Assigned to: Davanum Srinivas 
    Priority: Minor


When WSS4J looks in the keystore given a SubjectKeyIdentifier and it finds a X509v1 certificate it throws a WSSecurityException preventing to find the right certificate. It should skip the wrong certificate and go on anyway.

Suggested solution (diff for Merlin.java) (surely it should be investigated more deeply)

386c386,392
<                 byte[] data = getSKIBytesFromCert((X509Certificate) cert);
---
>                 byte[] data;
>                 try {
>                     data = getSKIBytesFromCert((X509Certificate) cert);
>                 } catch (WSSecurityException myException)
>                 {
>                     // cert is < 3, skip and go on with next one
>                     continue;
>                 }



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org