Problems binding certificates
-
Tuesday, April 10, 2007 3:18 PM
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.
All Replies
-
Tuesday, April 10, 2007 11:23 PMI'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 -
Wednesday, April 11, 2007 9:12 AM
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.
-
Wednesday, April 11, 2007 9:06 PM
You might want to contact the IIS folks then. I'm not sure how much help we can provide.
//Toland
-
Thursday, September 13, 2007 5:17 PM
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.
-
Thursday, November 22, 2007 5:33 AM
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?
-
Monday, November 26, 2007 9:21 PM
Have you tried Colin's suggestion above?
-
Thursday, February 28, 2008 6:19 PM
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- Proposed As Answer by simbolo Saturday, December 20, 2008 9:23 PM
-
Monday, October 04, 2010 6:34 PMyour asp code maybe trying to access a remote directory that maybe this computer/user account doesn't have access to.
-
Friday, September 02, 2011 4:26 PM
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
- Proposed As Answer by melliottx Friday, September 02, 2011 4:26 PM
-
Friday, September 23, 2011 2:56 PM
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

