d4-core/server/gen_root.sh

4 lines
138 B
Bash
Executable File

#!/usr/bin/env bash
openssl genrsa -out rootCA.key 4096
openssl req -x509 -new -nodes -key rootCA.key -sha256 -days 1024 -out rootCA.crt