> The trace clearly shows the the exception it thrown by WSE. In my
> web.config x509 element I set storeLocation to LocalMachine and
[quoted text clipped - 32 lines]
>> > ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X
509SubjectKeyIdentifier"
>> > EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.
0#Base64Binary">A7dko6gk50Yi62eSPFfVd8yq9YI=</wsse:KeyIdentifier></wsse:Security
TokenReference></KeyInfo>.
I had to use DirectReference in my java client wsdd file for the
signatureKeyIdentifier. But I have a question about this, since I'm
including a full copy of the client certificate public key will WSE
still check that this cert also exists in my trustedpeople store?
> What WSE version are you using ?
>
[quoted text clipped - 37 lines]
> >> > ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X
509SubjectKeyIdentifier"
> >> > EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.
0#Base64Binary">A7dko6gk50Yi62eSPFfVd8yq9YI=</wsse:KeyIdentifier></wsse:Security
TokenReference></KeyInfo>.
Pablo Cibraro [MVP] - 31 Jul 2006 14:53 GMT
Hi,
That depends on the verificationMode setting configured in the WSE section
(web.config).
<microsoft.web.services3>
<security>
<x509 verificationMode="TrustedPeopleOrChain" />
</security>
</microsoft.web.services3>
The verificationMode gives user an ability to choose whether they want to
allow TrustedPeople store to be searched before doing chain verification.
It has three options, TrustedPeopleOnly, ChainOnly and TrustedPeopleOrChain.
If it is TrustedPeopleOnly, then the server will only match the incoming
certificate
with the certificate in the Trusted people store. If it is ChainOnly, then
the server will try to build a trusted certificate chain and do the
verification.
If it is TrustedPeopleOrChain, then the server will trust the certificate if
either one succeed. The default is TrustedPeopleOrChain.
Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax
>I had to use DirectReference in my java client wsdd file for the
> signatureKeyIdentifier. But I have a question about this, since I'm
[quoted text clipped - 50 lines]
>> >> > ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X
509SubjectKeyIdentifier"
>> >> > EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.
0#Base64Binary">A7dko6gk50Yi62eSPFfVd8yq9YI=</wsse:KeyIdentifier></wsse:Security
TokenReference></KeyInfo>.