使用以下搜索条件找不到X.509证书: [英] Cannot find the X.509 Certificate using the following search criteria:

查看:300
本文介绍了使用以下搜索条件找不到X.509证书:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到此消息:


使用以下搜索条件找不到X.509证书:StoreName'My',StoreLocation'

Cannot find the X.509 certificate using the following search criteria: StoreName 'My', StoreLocation 'LocalMachine', FindType 'FindBySubjectDistinguishedName', FindValue 'CN=HighBall'.

我的web.config设置看起来像这样;

My web.config setup looks like this;

身份验证设置为...

Authentication is set like...

<authentication mode="Windows" />

绑定设置为wsHttpBinging

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.

推荐答案

查看有关该工具的其他帖子你问了。验证您的我的存储,并检查CN =HighBall。我猜你的CN不只是HighBall,可能它有一个顶级域名。我认为查找证书序列号更容易,我认为它比标准名称更容易,并且容易出错。

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.

注意,

Victor

这篇关于使用以下搜索条件找不到X.509证书:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆