473,324 Members | 2,473 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

XML Signature with WSE 1.0

ss
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.X509Certifica te.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

Nov 19 '05 #1
2 1026
HI ss:

Have you been using the WseCertificate2.exe tool to verify the
installation and permissions on the key?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 6 Apr 2005 07:15:03 -0700, "ss" <ss@discussions.microsoft.com>
wrote:
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.X509Certific ate.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


Nov 19 '05 #2
ss
Yes, I've verified it with the WseCertificate2.exe and AspNet-user has full
access to the selected certificate and key

"Scott Allen" schrieb:
HI ss:

Have you been using the WseCertificate2.exe tool to verify the
installation and permissions on the key?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 6 Apr 2005 07:15:03 -0700, "ss" <ss@discussions.microsoft.com>
wrote:
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.X509Certific ate.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


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Geir S Eidissen | last post by:
Task: Removing the Signature element from an enveloped-signature xml file. The signed xml file is like this (SP=space, LF=line feed (ascii 10)), signature contents is not shown here <doc>LF...
12
by: Kim | last post by:
I have a .NET service sending mails using CDOEX. These mails I need to sign. I got a tip that I should use CAPICOM. That worked fine sending a mail with signature. BUT the problem is that I...
2
by: S. Baumann | last post by:
Hello, I use a code very similar to that found in the MSDN sample attached to the class XmlDsigEnvelopedSignatureTransform (code attached below). The code works fine and produces somethink like...
0
by: David Mediavilla | last post by:
I am trying to check a SOAP signature with WSE 1.0 SP1, but with a certain transform I only get an "Unknown tranform" exception. The SOAP signature is like this: <ds:Signature>...
1
by: JJBW | last post by:
Hi I am creating some aspx files in Visual Studio 2003 for a Danish web site. The page is encoded as UTF-8 - However, when I save the the aspx file as "UTF-8 without signature" the Danish...
3
by: DJTN | last post by:
I'm getting the following error when I try to compile my setup project in VS 2002. I have re-installed the .net framework 1.1 and it didnt solve the problem. WARNING: Unable to find dependency...
0
by: Geagleeye | last post by:
Hi everyone. I have some vba code to generate a pdf document through word, and add also digital signature. My problem is : how can i change the way the signature layout, it always show the...
14
by: =?Utf-8?B?QUEyZTcyRQ==?= | last post by:
Am I correct in thinking that the <signatureof a function is its <syntax> i.e. the arguments and the order in which they are specified when calling the function?
0
by: vituperio | last post by:
In a xml signature I have .... ... <Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2"> <XPath Filter="intersect" xmlns="http://www.w3.org/2002/06/xmldsig-filter2"...
10
by: AG | last post by:
I need to create a ASP.NET (3.5) web app where the client machine will be a tablet pc. The app will have a patient consent form that the patient would sign using the stylus. I would need to save...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.