From d782ea7ee3e448750e69199b2de42ee6309d9ca2 Mon Sep 17 00:00:00 2001 From: Alec Muffett Date: Wed, 4 Aug 2021 13:29:02 +0100 Subject: [PATCH] commit: add ssl_certs_per_onion --- lib.d/do-configure.pl | 3 ++- lib.d/lint.pl | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib.d/do-configure.pl b/lib.d/do-configure.pl index 1f04b0f..4847463 100755 --- a/lib.d/do-configure.pl +++ b/lib.d/do-configure.pl @@ -524,8 +524,9 @@ sub DoProject { &SetEnv("projects_home", "$here/projects.d"); &SetEnv("softmap_nginx_workers", "auto"); # nginx_workers * softmap_tor_workers &SetEnv("softmap_tor_workers", 2); # MUST BE NUMERIC > 1 -&SetEnv("ssl_tool", "$here/lib.d/make-selfsigned-wildcard-ssl-cert.sh"); +&SetEnv("ssl_certs_per_onion", 1); &SetEnv("ssl_mkcert", 0); +&SetEnv("ssl_tool", "$here/lib.d/make-selfsigned-wildcard-ssl-cert.sh"); &SetEnv("suppress_header_csp", 0); # 0 = try rewriting; 1 = elide completely &SetEnv("suppress_header_hpkp", 1); # 1 = elide completely &SetEnv("suppress_header_hsts", 1); # 1 = elide completely diff --git a/lib.d/lint.pl b/lib.d/lint.pl index b9e8a6b..d100d03 100755 --- a/lib.d/lint.pl +++ b/lib.d/lint.pl @@ -127,6 +127,7 @@ my %known = 'REFERER_WHITELIST_RE' => 1, 'SOFTMAP_NGINX_WORKERS' => 1, 'SOFTMAP_TOR_WORKERS' => 1, + 'SSL_CERTS_PER_ONION' => 1, 'SSL_DIR' => 1, # where ssl certs for the current project live 'SSL_MKCERT' => 1, 'SSL_PROOF_CSV' => 1,