From 8bc97b50a214bdab81d910df2b153a2c5331c4dc Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Mon, 17 May 2021 15:22:00 +0200 Subject: [PATCH] Removed small bug --- static/scripts/docker-tcp.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/scripts/docker-tcp.sh b/static/scripts/docker-tcp.sh index 5e74ca9..c2174ff 100755 --- a/static/scripts/docker-tcp.sh +++ b/static/scripts/docker-tcp.sh @@ -77,7 +77,7 @@ echo extendedKeyUsage = serverAuth >> extfile.cnf # Generate server-side certificate openssl x509 \ -req \ - -days 365 \ + -days "$DAYS" \ -sha256 \ -in server.csr \ -CA ca.pem \ @@ -104,7 +104,7 @@ echo extendedKeyUsage = clientAuth > extfile-client.cnf # Generate certificate openssl x509 \ -req \ - -days 365 \ + -days "$DAYS" \ -sha256 \ -in client.csr \ -CA ca.pem \