From e95f5981aa184ca5dce5a452d57fa279c70eba74 Mon Sep 17 00:00:00 2001 From: nixbitcoin Date: Fri, 24 Apr 2020 16:27:48 +0200 Subject: [PATCH] Remove KN countrycode --- pkgs/generate-secrets/generate-secrets.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/generate-secrets/generate-secrets.sh b/pkgs/generate-secrets/generate-secrets.sh index 4eac950..3ccbd3f 100755 --- a/pkgs/generate-secrets/generate-secrets.sh +++ b/pkgs/generate-secrets/generate-secrets.sh @@ -18,7 +18,7 @@ makePasswordSecret spark-wallet-password if [[ ! -e nginx-key || ! -e nginx-cert ]]; then openssl genrsa -out nginx-key 2048 - openssl req -new -key nginx-key -out nginx.csr -subj "/C=KN" + openssl req -new -key nginx-key -out nginx.csr -subj '/CN=localhost/O=electrs' openssl x509 -req -days 1825 -in nginx.csr -signkey nginx-key -out nginx-cert rm nginx.csr fi