From 2b51d685c4b1613ce7883ab95327bccc4d76f7dd Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Mon, 4 Mar 2019 12:22:41 +0100
Subject: [PATCH] testnode: used self signed certificate for shellinabox

Since Caddy 0.11.1, certificates has to match sites
(Thanks Luke)
---
 software/erp5testnode/buildout.hash.cfg    | 2 +-
 software/erp5testnode/instance-default.cfg | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/software/erp5testnode/buildout.hash.cfg b/software/erp5testnode/buildout.hash.cfg
index 40c588b6d..b99e0a502 100644
--- a/software/erp5testnode/buildout.hash.cfg
+++ b/software/erp5testnode/buildout.hash.cfg
@@ -18,4 +18,4 @@ md5sum = 307663d73ef3ef94b02567ecd322252e
 
 [template-default]
 filename = instance-default.cfg
-md5sum = c85bd43145c7d21321546f988aebbfc7
+md5sum = de56145079f33f78d6bcf140f6caf2f3
diff --git a/software/erp5testnode/instance-default.cfg b/software/erp5testnode/instance-default.cfg
index f90edb254..4f99d4874 100644
--- a/software/erp5testnode/instance-default.cfg
+++ b/software/erp5testnode/instance-default.cfg
@@ -94,7 +94,7 @@ rendered = $${directory:etc}/$${:_buildout_section_name_}
 template = inline:
   https://$${:hostname}:$${:port} {
     bind $${:ipv6}
-    tls $${:cert-file} $${:key-file}
+    tls self_signed
     gzip
     log stdout
     errors stderr
-- 
2.30.9