ws-fx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide Romanini (JIRA)" <j...@apache.org>
Subject [jira] Created: (WSS-7) X509v1 certs in the keystore prevent correct handling of SubjectKeyIdentifier
Date Tue, 26 Jul 2005 10:20:18 GMT
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


Mime
View raw message