I recently tried installing a certificate into IIS7 on an new Windows 2008 server at work. The import whent well but when I tried to bind a site to use the new certificate I got a dialog box with the following message
--------------------------- Add Site Binding --------------------------- There was an error while performing this operation. Details: A specified logon session does not exist. It may already have been terminated. (Exception from HRESULT: 0x80070520) --------------------------- OK ---------------------------
(Note: The above text was produced by simply focusing the dialog window and pressing CTRL+C; really neat trick!)
After a lot of debugging/googling I managed to find a solution; you have to check the "Allow this certificate to be exported" box when you import the cert. Really strange and really not good practice but until I find another solution that's the way it has to be. If you've got another solution please comment!
6 comments:
This works - setting the certificate as "Allow to be exported" did fix the error message!
I am new to IIS 7 but still... this seems strange!
Thanks for posting this!
Thanks for posting this workaround (it worked for me too), I'd unticked the 'allow export' box for security reasons but didn't associate that action with the cryptic error message when binding the certificate to an IP. You've potentially saved me a lot of digging! Cheers.
Thanks very much. Saved me alot of heart ache trying to find an answer to a criptic message. Nice work.
Worked for me too - thanks :)
Many Many thanks... It worked for me too.
Cheers!
This is still failing for me after I check the "Allow this certificate to be exported" box. Any thoughts on why it's still failing?
Post a Comment