anyproxy/cert/gen-rootCA
2014-08-11 16:43:14 +08:00

6 lines
151 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