mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-04-21 19:04:23 +00:00
13 lines
291 B
Bash
Executable File
13 lines
291 B
Bash
Executable File
#!/bin/bash
|
|
|
|
outputPath=$1
|
|
cd $outputPath
|
|
openssl genrsa -out rootCA.key 2048
|
|
openssl req -x509 -new -nodes -key rootCA.key -days 36500 -out rootCA.crt
|
|
echo "============="
|
|
echo "rootCA generated at :"
|
|
pwd
|
|
echo "please trust them and add to your system keychain"
|
|
echo "============="
|
|
|
|
exit 0 |