Signing an XML-document with WSE 1.0 on an ASP-page



task:
On an asp-page a xml-document is created and signed with WSE 1.0. This
xml-document will be returned as response to the client.

problem:
The certificate for signed is found in the CertificateStore, but the private
key can't be accessed. Exception "at
Microsoft.Web.Services.Security.X509.X509Certificate.get_Key()
at Verification_1.VerifyPdf.SignXML(XmlDocument xmlDoc) in
%AppPath\GetSignedXML.aspx.vb:line 474; Message: Keyset does not exist;

AspNet user has full access to "C:\Documents and Settings\All
Users\Application
Data\Microsoft\Crypto\RSA\MachineKeys".

Does anyone know a solution to my problem?
thx,
ss


.



Relevant Pages

  • Re: how to sign response message with X509 thru code.
    ... Both client and server apps are running on my dev ... Is my assumption correct that all I need to do to sign the response message ... > the X.509 certificate installed on the machine you are sending the message ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • XML Signature with WSE 1.0
    ... On an asp-page a xml-document is created and signed with WSE 1.0. ... xml-document will be returned as response to the client. ... The certificate for signed is found in the CertificateStore, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: XML Signature with WSE 1.0
    ... Scott ... >On an asp-page a xml-document is created and signed with WSE 1.0. ... >The certificate for signed is found in the CertificateStore, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Expiry Error - NewBee Question?
    ... We're using a .Net client running WSE 2.0 to hit a WebLogic ... We're signing with a UsernameToken and a Certificate. ... The response we keep getting on the client is "Message includes expiry ... - We've sync'd up the clocks on both the client and server. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Finding nonrepudiation-certificate?
    ... certificate which supports nonrepudiation in order to sign a xml-document. ... Is there any support for this in DotNet or do I have to use CryptoApi? ...
    (microsoft.public.dotnet.security)

Loading