d4-core/server/gen_cert/gen_root.sh

6 lines
214 B
Bash
Raw Normal View History

2019-01-17 12:13:35 +01:00
#!/usr/bin/env bash
# Create Root key
2019-01-17 12:13:35 +01:00
openssl genrsa -out rootCA.key 4096
# Create and Sign the Root CA Certificate
2019-03-22 09:50:02 +01:00
openssl req -x509 -new -nodes -key rootCA.key -sha256 -days 1024 -out rootCA.crt -config san.cnf