This is a mirror of official site: http://jasper-net.blogspot.com/

Got Error 0x80070520 When Binding Certificate to Web Site on IIS 7

| Monday, August 16, 2010
One of my customers had a problem when using one certificate on IIS 7. This certificate once been used on IIS 6 and it works fine. This means there is no problem with the certificate itself.

Here are the steps. Open the IIS MMC, open the Site Bindings, and then add a HTTPS binding. Select this certificate from the certificates drop down list, and click OK. Then, got follow error:

A specified logon session does not exist. It may already have been terminated.
(Exception from HRESULT: 0x80070520)

There was no problem using other certificates in the drop down list. Using CertUtil command to verify the certificate, we got error s like the Encryption test failed for the certificate imported.

The problem is due to Administrators group doesn’t have permission to access the private key file which is under "C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys". By default, administrators group and system account have full control for this folder. This was resolved by giving administrators group full control to this folder.

Reference:
278381  Default permissions for the MachineKeys folders
http://support.microsoft.com/default.aspx?scid=kb;EN-US;278381

Read more: AsiaTech: Learning by Practice

Posted via email from .NET Info

4 comments:

Anonymous said...

Why users still use to read news papers when in this technological world all is existing on web?


Visit my blog post; click through the following website page

Anonymous said...

The poѕt featurеs confirmed uѕeful to us.
It’s extгemely helpful anԁ уou rеаlly arе certainly very
knоωleԁgeable of this type.
You have got exposed mу sight to numeгous viewѕ on this subjеct matter
along with intrіquing, notable anԁ solid content.


Here iѕ my web blog - buy viagra online

Anonymous said...

Nice post. I was checking constantly this blog and I'm impressed! Extremely useful info particularly the last part :) I care for such info a lot. I was seeking this particular info for a very long time. Thank you and best of luck.



vivexin

Anonymous said...

I got this web page from my friend who told me concerning this website
and at the moment this time I am visiting this web site and reading
very informative articles here.


Rvtl Anti Aging Solution