Thread View: borland.public.delphi.language.delphi.dotnet
1 messages
1 total messages
Started by Herman van Ruitenbeek
Fri, 20 Jun 2008 13:23
Private key blocked in IIS
Author: Herman van Ruitenbeek
Date: Fri, 20 Jun 2008 13:23
Date: Fri, 20 Jun 2008 13:23
24 lines
1486 bytes
1486 bytes
Hello, I have working code like this rsa := RSACryptoServiceProvider.Create; // includeprivateparameters rsa.FromXmlString(cert.Key.ToXmlString(true)); When locally on my development PC all works fine. On IIS I install the certificate (p12 file) exactly the same way. 1st I got the error later playing with the certificate in IIS I persistantly get 'Server Error in '/' Application' The handle is invalid. It's caused by an exception in the cert.Key line. The certificate is found in de certificatestore (checked before) so I think the private key is blocked. Does anyone know how to solve this? Thanks in advance Herman
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads