From 5706e38b03dbff06d1769284e48d40d02fe05038 Mon Sep 17 00:00:00 2001 From: daimoc Date: Thu, 22 Dec 2022 17:58:29 +0100 Subject: [PATCH] Fix generate cert sp --- tools/generate_cert_sp.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/generate_cert_sp.sh b/tools/generate_cert_sp.sh index dbc7db6..c5e93a7 100644 --- a/tools/generate_cert_sp.sh +++ b/tools/generate_cert_sp.sh @@ -30,5 +30,9 @@ EOT openssl req -new -x509 -config sp-cert.cnf -text -out sp-cert.pem -days 3650 +if [ ! -d "../config/cert/" ]; then + mkdir ../config/cert/ +fi + rm sp-cert.cnf mv sp-* ../config/cert \ No newline at end of file