From 3b090c9356911a4ae5a4bc84679f2eef7ac75373 Mon Sep 17 00:00:00 2001 From: openoms Date: Sun, 22 Sep 2019 01:27:19 +0100 Subject: [PATCH] electrs: make self signed cert valid for 5 years --- electrs/electrs_to_RaspiBlitz.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrs/electrs_to_RaspiBlitz.sh b/electrs/electrs_to_RaspiBlitz.sh index 3647012..92d328d 100644 --- a/electrs/electrs_to_RaspiBlitz.sh +++ b/electrs/electrs_to_RaspiBlitz.sh @@ -146,7 +146,7 @@ DNS.2 = 127.0.0.1 " | sudo tee /mnt/hdd/electrs/localhost.conf cd /mnt/hdd/electrs -sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout localhost.key -out localhost.crt -config localhost.conf +sudo openssl req -x509 -nodes -days 1825 -newkey rsa:2048 -keyout localhost.key -out localhost.crt -config localhost.conf sudo cp localhost.crt /etc/ssl/certs/localhost.crt sudo cp localhost.key /etc/ssl/private/localhost.key