From fe1f261738d9ef4cf4ee05b67820b201821bf31c Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Wed, 24 Aug 2022 16:53:02 +0200 Subject: [PATCH] Add another DNS to the pki --- gen_pki | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gen_pki b/gen_pki index 57da699..c06865b 100755 --- a/gen_pki +++ b/gen_pki @@ -59,8 +59,9 @@ subjectAltName = @alt_names [alt_names] DNS.1 = server.$CLUSTER.$APP DNS.2 = client.$CLUSTER.$APP -DNS.3 = localhost -DNS.4 = 127.0.0.1 +DNS.3 = $APP.service.$CLUSTER.$APP +DNS.4 = localhost +DNS.5 = 127.0.0.1 EOF ) \ -CA <(pass $PREFIX/$APP-ca.crt) \