actube/ssl/mkrootca.sh
7u83@mail.ru 4d8643be77 Increased lieftime so we can build certificates starting on jan 1970.
FossilOrigin-Name: 19d66ea2cdd069313448d7ca3029331e70c577925a71aeb20e49a060e486b890
2014-08-11 15:31:52 +00:00

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