Adr*_*ron 3 wcf certificate x509securitytokenmanager x509
我收到这条消息:
使用以下搜索条件找不到X.509证书:StoreName'My',StoreLocation'LocalMachine',FindType'FindBySubjectDistinguishedName',FindValue'CN = HighBall'.
我的web.config设置看起来像这样;
身份验证设置如...
<authentication mode="Windows" />
Run Code Online (Sandbox Code Playgroud)
为wsHttpBinging设置绑定
我的服务行为设置如此......
<behavior name="HighBall.Services.ServiceVerificationBehavior">
<serviceAuthorization principalPermissionMode="UseAspNetRoles"
roleProviderName="HighBallRoleProvider" />
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
<serviceCredentials>
<serviceCertificate findValue="CN=HighBall" />
<userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
membershipProviderName="HighBallMembershipProvider" />
</serviceCredentials>
</behavior>
Run Code Online (Sandbox Code Playgroud)
我试图找出一种方法来验证证书存储的内容,方式和位置,但我不知道如何做到这一点.如果有人对此错误消息有任何想法,我将非常感谢您的帮助.
归档时间: |
|
查看次数: |
21276 次 |
最近记录: |