Files
helm-charts-hardened/.github/tests/upstream-authority-disk/create-cert.sh
T
2023-02-23 10:33:28 +01:00

9 lines
224 B
Bash
Executable File

#!/usr/bin/env bash
BASEDIR=$(dirname "$0")
openssl req -new -x509 -days 365 -nodes -sha256 \
-subj "/C=NL/O=SPIFFE/OU=SPIRE/CN=example.org" \
-out "${BASEDIR}/example-org.pem" \
-keyout "${BASEDIR}/example-org.key"