From 9f53cc86f5f944823f30c92dc8539edf48f5fa6c Mon Sep 17 00:00:00 2001 From: gael Date: Wed, 15 Mar 2023 01:34:57 +0100 Subject: [PATCH] Certif avec CN via mkcert --- files/vm-provision.sh | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/files/vm-provision.sh b/files/vm-provision.sh index a3b8f13..68dde84 100755 --- a/files/vm-provision.sh +++ b/files/vm-provision.sh @@ -148,11 +148,33 @@ EOF export CAROOT=/etc/letsencrypt/local/ /root/mkcert/mkcert -install # CA dans /etc/letsencrypt/local/ cd "${CAROOT}" - /root/mkcert/mkcert "*.kaz.sns" # cert et clé dans /etc/letsencrypt/local/ + cat > "${CAROOT}/kaz.sns.cnf" <