如何使用 ASP.NET 和 JKS 证书访问第三方组件?

发布于 2024-07-15 04:57:27 字数 115 浏览 4 评论 0原文

我需要访问需要 JKS 证书(我拥有)的第三方应用程序。

我的客户端应用程序是 ASP.NET 客户端应用程序。 我该怎么办?

(我本来想提供更多信息,但不幸的是我没有!)

I need to access a third party application that requires a JKS Certificate (which I have).

My client application is an ASP.NET one. How do I go about this?

(I would have liked to provide more information, but unfortunately I have none!)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

两个我 2024-07-22 04:57:27

首先,将证书导入到 Windows 证书存储区。 看看http://tjworld.net/software/codesigning/JKS2PFX.html 为此。 如果您需要从 aspnet 帐户使用它,您可能更愿意将其导入机器存储(而不是您的帐户证书存储)。 使用MMC、证书插件来检查它。

然后在您的应用程序中使用此证书。 在大多数情况下,您将通过其“DN=....”属性(您也将在 MMC 中看到)来选择它。

哈特哈,
托马斯

First, import the certificate to the windows certificate store. Have a look at http://tjworld.net/software/codesigning/JKS2PFX.html for this. If you need to use it from the aspnet account you might prefer to import it to the machines-store (instead of your accounts cert store). Use the MMC, certificates addin to check it.

Then use this certificate in your application. In most cases you will select it by its "DN=...." property (which you will also see in MMC).

HTH,
Thomas

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文