以编程方式生成 X.509(非自签名)客户端证书

发布于 2024-10-10 06:35:04 字数 613 浏览 0 评论 0原文

是否可以在 ASP.NET 中即时生成客户端证书而不使用 makecert.exe?生成的证书应使用给定的 CA 证书进行签名(特定的 CA 证书保存在文件系统上并在运行时选择)。生成的证书应附加到对另一台服务器的 Web 请求中,以便提取数据。

流程:

用户在 IIS 上请求 ASP.NET 页面 ->证书是使用 ASP.NET 在 IIS 上生成的 ->调用附加证书的另一台服务器 ->返回数据并显示在用户请求的页面上。

我找不到通过 .NET Framework 进行本机操作的方法,并探索了不同的选项,例如:

提前感谢您的回复。

Is it possible to generate a client certificate on-the-fly in ASP.NET without using makecert.exe? the generated certificate should be signed with a given CA certificate (the specific CA certificate is saved on file system and selected at runtime). The generated certificate should be attached to a web request to another server in order to pull data.

The flow:

User asking for an ASP.NET page on IIS -> certificate is generated on IIS using ASP.NET -> calling another server with the certificate attached -> data is returned and is shown on the requested page for the user.

I couldn't find a way for doing natively through the .NET Framework and explored different options such as:

Thanks in advance for your replies.

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

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

发布评论

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

评论(2

只等公子 2024-10-17 06:35:04

您还可以使用我们的 SecureBlackbox 组件的 PKIBlackbox 包。它们允许您生成证书,以及执行许多其他 PKI 功能。

You can also use PKIBlackbox package of our SecureBlackbox components. They let you generate certificates, as well as perform numerous other PKI functions.

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