How to easily create self signed SSL certificate for testing purposes?
相关问题
- Mechanize getting “Errno::ECONNRESET: Connection r
- Can ServiceStack JsonServiceClient send a get requ
- Tomcat and SSL Client certificate
- Can we add four protocols to ServicePointManager.S
- .NET Core gives unknown error while processing HTT
相关文章
- 请大神帮忙 post向https接口发送数据 部署到服务器为什么运行一会后就会报空指针
- ssl配置问题
- Intermittent “sslv3 alert handshake failure” under
- Making a two way SSL authentication between apache
- decrypt TLS 1.2 AES-GCM packet
- How to use Jetty with Let's Encrypt certificat
- Sending email using php, gmail, and swiftmailer ca
- Can't pip install packages in python 3.6 due t
You can do this via openssl:
Install openssl package (if you are using Windows, download binaries here).
Generate private key:
openssl genrsa 2048 > private.pem
Generate the self signed certificate:
openssl req -x509 -days 1000 -new -key private.pem -out public.pem
If needed, create PFX:
openssl pkcs12 -export -in public.pem -inkey private.pem -out mycert.pfx