创建自己的证书以签署装配体 [英] creating own certificate for signing the assembly

查看:74
本文介绍了创建自己的证书以签署装配体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在使用安全性问题时遇到问题.

我创建了程序集并以强名称命名.

但是现在我需要创建自己的证书来对程序集进行签名,并且需要显示证书和签名.

给我一些相关信息.

提前致谢.

解决方案

正如Shameel所指出的,请使用Makecert.EXE,请参阅http://msdn.microsoft.com/en-us/library/aa386968%28v=vs.85%29.aspx [ ^ ].您可以从Visual Studio提示中使用它.

不要使用MD5(默认)选项-事实证明它已损坏,请参阅 http://en.wikipedia.org/wiki/Md5 [^ ].使用SHA.

在客户端站点上使用HTTPS时,浏览器将要求您永久或暂时接受证书.一旦识别出证书并知道它可能不是您网站上的恶意内容,就接受它.

—SA


如果不是供生产使用,则makecert工具可帮助您创建一个.


Hi All,

I am facing a problem using the security problems.

I had created the assembly and sigined with the strong name.

But right now i need to create my own certificate to sign my assembly and i need to display the certificate and signature.

Give me some information about this.

Thanks in Advance.

解决方案

As Shameel pointed out, use Makecert.EXE, see http://msdn.microsoft.com/en-us/library/aa386968%28v=vs.85%29.aspx[^]. You can use it from Visual Studio Prompt.

Do not use MD5 (default) option — it is proven broken, see http://en.wikipedia.org/wiki/Md5[^]. Use SHA.

While using the HTTPS on the client site, the browser will ask you to accept the certificate permanently or temporarily. Accept it once you recognize you certificate and know it could not be malicious content on your site.

—SA


If it isn''t for production use, the makecert tool helps you create one.


这篇关于创建自己的证书以签署装配体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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