Bugzilla – Bug 5757
allow developer to bypass sending cert chain in secure message
Last modified: 2008-01-22 15:34:37
You need to log in before you can comment on or make changes to this bug.
(see URL for patch) Don't send proxy chain - the deployment expects this in the secmsg signing envelope: ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"; - Globus' use of WSS4J outputs this on the wire: ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509PKIPathv1"; - so the deployment exepected X509v3 which is a single cert, Globus uses chains with X509PKIPathv1 - boils down to using this in the particular call: "((X509Security) bstToken).setX509Certificate(certs[0]);" instead of "((PKIPathSecurity) bstToken).setX509Certificates(certs, false, crypto);" - Introduces Constants.GSI_SEC_MSG_SINGLECERT --> Boolean.TRUE
Patch committed to trunk and branch. Thanks Tim.