无法使用以下搜索条件找到 X.509 证书: [英] Cannot find the X.509 Certificate using the following search criteria:
问题描述
I get this message:
Cannot find the X.509 certificate using the following search criteria: StoreName 'My', StoreLocation 'LocalMachine', FindType 'FindBySubjectDistinguishedName', FindValue 'CN=HighBall'.
My web.config setup looks like this;
Authentication is set like...
<authentication mode="Windows" />
The bindings are set for wsHttpBinging
and my Service behavior is set as such...
<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>
I've tried to figure out a way to verify what, how, and where to certificate is stored but am not sure how to do this. If anyone has any ideas on this error message I'd greatly appreciate the assist.
Check the other post about the tool that you asked about. Verify your "my" storage and check if the CN="HighBall". I guess your CN is not just "HighBall", probably it has a top level domain. I think it's easier to look for the certificate serial number, i think it's faster than for it's canonical name and error prone.
Regards,
Victor
这篇关于无法使用以下搜索条件找到 X.509 证书:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!