How to create Self signed certificates

2020-07-26 16:22发布

问题:

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!!

Its an ASP.Net project and IIS V6.0

I appreciate all your help :)

Thanks a lot!

回答1:

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

For further details and examples see the documentation of makecert.



回答2:

If you can get the IIS6 Resource Kit, you can use a tool therein to create one. More info:

Creating Self-Signed SSL Certificates on IIS6 and Windows 2003

IIS6 Resource Kit



回答3:

Take a look at the makecert util



标签: c# asp.net