如何从我的.NET应用程序查找安装在服务器或本地计算机上的SSL证书信息. [英] How to find SSL Certificate information installed on server or Local machine from my .NET application.

查看:92
本文介绍了如何从我的.NET应用程序查找安装在服务器或本地计算机上的SSL证书信息.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们,
我需要一些帮助,
我想从.net应用程序中找到服务器或本地计算机上已安装SSL证书的详细信息.
证书的详细信息包括证书名称和有效期.
在这里,我的机器上没有物理证书文件(例如"ABC.cer"). ("ABC.cer")证书已安装在我的服务器和计算机上.

请帮助....
thnx in advanse,
Shahu.

Hi friends,
I need some help,
I want to find the detailed information of installed SSL Ceritificate on my server or Local machine from my .net application.
Details of certificate includes Name of certificate and Expiry date.
Here i dont have physical certificate file (eg."ABC.cer") on my machine. ("ABC.cer") certificate is installed on my server and machine.

Plz Help..........
thnx in advanse,
Shahu.

推荐答案

您可以在计算机中使用MMC.
1.转到运行",然后键入MMC.EXE(以管理员身份)
2.单击文件->添加删除管理单元
3.选择证书,然后单击添加.
4.完成向导(适用于您的帐户/本地计算机)

现在您可以看到所有已安装的证书.

希望有帮助.
Milind
You can use MMC in your machine.
1. Go to Run and type MMC.EXE (as Admin)
2. Click File->Add Remove Snap-In
3. Select Certificate and Click Add.
4. Finish the wizard (for your account/local computer as applicable)

Now you can see all the certificates installed.

Hope that helps.
Milind


这篇关于如何从我的.NET应用程序查找安装在服务器或本地计算机上的SSL证书信息.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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