ail-framework/tools/gen_cert/gen_root.sh
2023-05-17 10:26:54 +02:00

5 lines
214 B
Bash
Executable file

#!/usr/bin/env bash
# Create Root key
openssl genrsa -out rootCA.key 4096
# Create and Sign the Root CA Certificate
openssl req -x509 -new -nodes -key rootCA.key -sha256 -days 1024 -out rootCA.crt -config san.cnf