【问题标题】:What is WSE2QuickStartServer and can we use other certificate instead of this one?什么是 WSE2QuickStartServer,我们可以使用其他证书来代替这个证书吗?
【发布时间】:2012-04-20 12:26:36
【问题描述】:

在 WSE 中,WSE2QuickStartServer 证书用于对消息进行加密和签名。

这个证书有什么特别之处,我们可以使用任何其他证书吗?如果是,证书应满足哪些要求?

注意:我知道 WSE 是一项遗留技术,但客户目前正在使用它;所以无论如何我们都必须支持它!

【问题讨论】:

  • 实际上,ASMX 是一项遗留技术。 WSE 是一个过时的

标签: wcf x509certificate wse wse3.0 wse2.0


【解决方案1】:

没什么特别的,你可以使用任何其他证书。如果你用它来签名,你需要一个私钥。基本上任何适用于 ssl 的证书也可以在这里使用。

【讨论】:

  • 感谢您的意见。我也尝试使用我的 SSL 证书进行消息加密(通过替换 WSE2QuickStartServer),但它不起作用。
  • 我建议您双击这两个证书并比较它们的属性(详细信息选项卡)
  • 我已经比较了两个证书的属性,并选择了“为此证书启用所有用途”选项。
  • 我收到System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. System.ArgumentException: OFSTS0003: X509TokenProvider is unable to provide an X.509 token. There are no certificates in the certificate store that match the find value of 'CN=MyserverCert'. 。我正在使用 SSL 服务器证书作为服务器签名和加密。
  • 成功了。谢谢你的时间。我没有使用正确的SubjectDistinguishedName。我从实际证书中复制它并在代码中使用它来查找证书。它奏效了:)
猜你喜欢
  • 2012-05-30
  • 1970-01-01
  • 2014-05-29
  • 2016-09-16
  • 2017-09-22
  • 2017-04-13
  • 1970-01-01
  • 1970-01-01
  • 2014-12-30
相关资源
最近更新 更多