Problems binding certificates
-
10 April 2007 15:18
I've created my own certificates for a Cardspace demo, and they import and work on one machine, but on another machine I get the following error when I try to bind it to a website:
There was an error while performing this operation.
Details:
A specified logon session does not exist. It may already have been terminated.
Does anyone know what this has to do with certificates?
Regards,
Thomas Martin.
Semua Balasan
-
10 April 2007 23:23I'm guessing you're seeing that error in your browser.
Can you take a look at your asp code and see if it's trying to access a remote directory that maybe this computer/user account doesn't have access to?
I found these links that may be able to help you:
http://support.microsoft.com/kb/912998
http://www.jsifaq.com/SF/Tips/Tip.aspx?id=1312
//Toland -
11 April 2007 9:12
Actually no, the error is in IIS. Specifically, I go to the web site I'm using and click "Bindings ...", select "https 443" and "Edit". When I try to pick my certificate in the SSL certificate list and click OK, I get the error in a dialog box.
The certificate has been installed in the Local Computer Personal Certificate Store, and it's status is OK.
Thomas.
-
11 April 2007 21:06
You might want to contact the IIS folks then. I'm not sure how much help we can provide.
//Toland
-
13 September 2007 17:17
A little late to the party, but I've seen this happen when you create your certificate with makecert and forget to use the "-sky exchange" flag.
-
22 Nopember 2007 5:33
Hi Thomas,
Even am facing similar problem. The certificate was working fine for the first time after that I removed the binding and then tried adding it again but in vain.Getting this Error "
Details:
A specified logon session does not exist. It may already have been terminated.
"
Can you please suggest me what is to be done to get rid of this error?
-
26 Nopember 2007 21:21
Have you tried Colin's suggestion above?
-
28 Februari 2008 18:19
Hi All,
I had the same problem but then with a wildcard certificate and IIS7 on Windows Server 2008. The certificate was imported through IIS7 Server Certificates. When you import the certificate you can de-select the option to Allow this certificate to be exported. If you de-select that option you will not been able to use the certificaat inside IIS7.
I think this is a very bad thing. If your webserver is compromised in any way, there is an posability to export your certificate with private key and use it somewhere else.
Alexander- Disarankan sebagai Jawaban oleh simbolo 20 Desember 2008 21:23
-
04 Oktober 2010 18:34your asp code maybe trying to access a remote directory that maybe this computer/user account doesn't have access to.
-
02 September 2011 16:26
I got the exact same error as well. I'd imported a Wildcard certificate via IIS (unchecking the option to "Allow this certificate to be exported") and tried to use it. No deal.
The solution for me was to open up mmc.exe with the Certificates snap-in then do the following:
1. Delete the imported certificate.
2. Import from within the snap-in (and again unchecking the option to allow exporting). You may have to refresh the Personal certs folder to see it.
3. Go back into IIS Mgr and re-attempt to setup the https binding. That seems to fix it.Hope that helps.
-Mike
- Disarankan sebagai Jawaban oleh melliottx 02 September 2011 16:26
-
23 September 2011 14:56
That works.I got the exact same error as well. I'd imported a Wildcard certificate via IIS (unchecking the option to "Allow this certificate to be exported") and tried to use it. No deal.
The solution for me was to open up mmc.exe with the Certificates snap-in then do the following:
1. Delete the imported certificate.
2. Import from within the snap-in (and again unchecking the option to allow exporting). You may have to refresh the Personal certs folder to see it.
3. Go back into IIS Mgr and re-attempt to setup the https binding. That seems to fix it.Hope that helps.
-Mike
White Carpet Kitchen Carpet