如何创建自签名证书 [英] How to create Self signed certificates

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

问题描述

我试图打开我的主页,在我的测试服务器HTTPS。有没有一种方法我可以创建自签名的荣誉证书,看看HTTPS工作。请建议我一些链接或任何想法与该怎么办!

I am trying to open my homepage with HTTPS in my test server. Is there a way i can create Self signed certifcates and see if https works. Please suggest me some links or any ideas with how to do!!

它的一个ASP.Net项目和IIS V6.0

Its an ASP.Net project and IIS V6.0

我AP preciate您的帮助:)

I appreciate all your help :)

非常感谢!

推荐答案

您可以使用的 makecert.exe 工具来创建自签名证书。下面的命令行应该做的:

You can use the makecert.exe tool to create a self-signed certificate. The following command line should do:

makecert -r -pe -n CN="www.example.com" -b 05/10/2010 -e 12/22/2011 -eku 1.3.6.1.5.5.7.3.1 -ss my -sr localmachine -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12

有关更多细节和例子见 makecert 的文档。

For further details and examples see the documentation of makecert.

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

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