improve https support on Windows

This commit is contained in:
Otto Mao
2015-03-30 17:39:23 +08:00
parent 68478cd162
commit d807c805dc
4 changed files with 53 additions and 6 deletions

12
cert/gen-rootCA.cmd Normal file
View File

@@ -0,0 +1,12 @@
@echo off
openssl genrsa -out rootCA.key 2048
openssl req -x509 -new -nodes -key rootCA.key -days 3650 -out rootCA.crt -subj "/C=CN/ST=SH/L=SH/O=AnyProxy/OU=Section/CN=Anyproxy SSL Proxying/emailAddress=AnyProxy@AnyProxy"
echo =============
echo rootCA generated at :
echo %cd%
echo =============
start .
rem exit 0