Re: WSE - X.509 signed meesage- Multiple SoapExtensions
From: Hervey Wilson [MSFT] (herveyw.nospam_at_nospam.microsoft.com)
Date: 09/26/04
- Previous message: Hervey Wilson [MSFT]: "Re: Deploying to prod server"
- In reply to: Sachin Agarwal: "WSE - X.509 signed meesage- Multiple SoapExtensions"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 26 Sep 2004 10:48:17 -0700
Sachin Agarwal wrote:
> Hi
>
> I have a WebService with multiple SoapExtensions registered to it in
> web.config.
>
> If my client sends a SOAP message that is signed using a X.509 certificate,
> the service is able to verify the message when only the
> Microsoft.Web.Services2.WebServicesExtension is enabled. However if I enable
> the other extension as well, the service is not able to verify the signature.
>
> I consistently get the following error
> ________________________________-
> "A first chance exception of type 'System.ComponentModel.Win32Exception'
> occurred in microsoft.web.services2.dll
> Additional information: Cannot find the certificate and private key for
> decryption"
> _________________________________
>
> Am I doing something that is not supported. Any pointers or help is
> appreciated.
>
> thanks
> -Sachin
>
Multiple SOAP extensions are generally supported at the service end
under WSE2. The error above indicates that either the client or the
server cannot locate the private key for a particular certificate or
that it does not have permission to access the key.
If the error occurs at the client and you are signing a message, ensure
that the certificate is in the personal store for the current user and
that the app.config file <x509> element points to the personal store.
If the error occurs at the server and you have encrypted a message,
ensure that the certificate is in the local machine store and that the
web.config file <x509> elements points to the local machine store.
Additionally, you should use the X509Certificate tool included in the
product to verify the security permissions for the certificates key files.
-- This posting is provided "AS IS", with no warranties, and confers no rights.
- Previous message: Hervey Wilson [MSFT]: "Re: Deploying to prod server"
- In reply to: Sachin Agarwal: "WSE - X.509 signed meesage- Multiple SoapExtensions"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|