首页 > 数据库 > mysql教程 > When use WIF create STS: The certificate's private k

When use WIF create STS: The certificate's private k

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
发布: 2016-06-07 15:38:03
原创
1275 人浏览过

The certificate's private key could not be accessed. Ensure the access control list (ACL) on the certificate's private key grants access to the application pool user. Make sure you know under which account your web app is running (do a Res

The certificate's private key could not be accessed. Ensure the access control list (ACL) on the certificate's private key grants access to the application pool user.


Make sure you know under which account your web app is running (do a Response.Write(WindowsIdentity.GetCurrent().Name to find out).This account needs read access to the private key file. I got a security error on the application site due to my certificates being inaccessible by IIS user, something along the lines of ID1039: The certificate’s private key could not be accessed. Ensure the access control list (ACL) on the certificate’s private key grants access to the application pool user.  I found a solution to that problem on the web.  Basically, you have to give READ permission to the group IIS_IUSRS to the files located at%ALLUSERSPROFILE%\Microsoft\Crypto\RSA\MachineKeys.

相关标签:
来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
php - mysql中的cae when 批量更新
来自于 1970-01-01 08:00:00
0
0
0
如何使用 case when 获得两列的正确总和
来自于 1970-01-01 08:00:00
0
0
0
java - 使用solrj创建索引时遇到的奇怪问题?
来自于 1970-01-01 08:00:00
0
0
0
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板