actube/ssl/mkrootca.sh

7 lines
188 B
Bash
Executable File

#!/bin/sh
echo Creating Root CA
openssl genrsa -des3 -out root-ca.key 1536 -config openssl.cnf
openssl req -new -x509 -days 33650 -key root-ca.key -out root-ca.crt -config openssl.cnf