开发者

How do I test SSL on a developer machine?

开发者 https://www.devze.com 2022-12-14 21:31 出处:网络
I don\'t want to buy an SSL certificate yet, but still want to test SSL on my development server. Is there a way to generate a temporary certificate, for testing purposes, albeit with warnings from b

I don't want to buy an SSL certificate yet, but still want to test SSL on my development server.

Is there a way to generate a temporary certificate, for testing purposes, albeit with warnings from brows开发者_如何转开发ers upon page load?


You can generate a self sign certificate and install it on your web server. If you are using apache, then you can use openssl to generate a self-signed certificate. If you care using Java, then you can use keytool to generate a self-signed certificate. If you are using .NET, then you can use makecert.


http://www.openssl.org/docs/HOWTO/certificates.txt


Yes download TinyCA or similar and create your own self signed certificate.


You can generate self-signed test certs using OpenSSL, .NET or Java tools.

0

精彩评论

暂无评论...
验证码 换一张
取 消