RE: source-id .net
"Paulo Ruivo" <[email protected]> Wed, 18 Jun 2003 11:15:16 +0100
| Newsgroups | gmane.comp.sourceid.sso.devel |
|---|---|
| Message-ID | <[email protected]> |
The windows version is Microsoft Windows 2000 5.00.2195 Service Pack 3 The dotnet release is Microsoft Development Environment 2003 Version 7.1.3088 This is the error message: Server Error in '/sp' Application. Cannot find the certificate and private key for decryption Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ComponentModel.Win32Exception: Cannot find the certificate and private key for decryption Source Error: Line 71: Line 72: Line 73: return (RSACryptoServiceProvider) cert2.Key; Line 74: Line 75: } Source File: d:\sourceid.net\sourceid\xmlutils.cs Line: 73 Stack Trace: [Win32Exception (0x80004005): Cannot find the certificate and private key for decryption] Microsoft.Web.Services.Security.X509.X509Certificate.get_Key() SourceId.XmlUtils.GetCrypto(HttpApplicationState app) in d:\sourceid.net\sourceid\xmlutils.cs:73 SourceId.HttpHandlers.AuthnRequestor.ProduceRequest(HttpContext context) in D:\SourceID.NET\SourceId\HttpHandlers\AuthnRequestor.cs:338 SourceId.HttpHandlers.AuthnRequestor.Process(HttpContext context) in D:\SourceID.NET\SourceId\HttpHandlers\AuthnRequestor.cs:77 ASP.Federate_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in c:\inetpub\wwwroot\sp\federate.aspx:58 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) System.Web.UI.Control.Render(HtmlTextWriter writer) System.Web.UI.Control.RenderControl(HtmlTextWriter writer) System.Web.UI.Page.ProcessRequestMain() Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 Paulo Ruivo -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of David Waite Sent: terça-feira, 17 de Junho de 2003 20:27 To: [email protected] Subject: Re: [SourceID SSO-dev] source-id .net Do you know what the error code (ErrorCode) within the Win32Exception was? That will greatly help me in tracking down what is happening. Which Windows release is this running on? Which .NET release? -David Waite Paulo Ruivo wrote: >I’m testing the source-id .net but I’m getting a error that I can’t resolve. >When I try to federate, by the first time, I get the error: > > Cannot find the certificate and private key for decryption. > >In code line: >return (RSACryptoServiceProvider) cert2.Key; > >of the file sourceid\xmlutils.cs. > >In this line the cert2.key as the value: >error: an exception of type: {System.ComponentModel.Win32Exception} occurred > >the filename and password are correct. > >Maybe this is easy to solve but this is the first time I'm working with >certificates. > >Thank you, > >Paulo Ruivo. > >_______________________________________________ >sso-dev mailing list >[email protected] >http://mail.sourceid.org/mailman/listinfo/sso-dev > > _______________________________________________ sso-dev mailing list [email protected] http://mail.sourceid.org/mailman/listinfo/sso-dev