mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-07-29 09:27:42 +00:00
optimize self-signed certs
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
outputPath=$1
|
||||
cd $outputPath
|
||||
openssl genrsa -out rootCA.key 2048
|
||||
openssl req -x509 -new -nodes -key rootCA.key -days 36500 -out rootCA.crt
|
||||
openssl req -x509 -new -nodes -key rootCA.key -days 36500 -out rootCA.crt \
|
||||
-subj "/C=CN/ST=SH/L=SH/O=AnyProxy/OU=Section/CN=AnyProxy/emailAddress=AnyProxy@AnyProxy"
|
||||
echo "============="
|
||||
echo "rootCA generated at :"
|
||||
pwd
|
||||
|
Reference in New Issue
Block a user