From 8d069c53ee202b95ee621f5b244570c738c44669 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Tue, 12 Dec 2017 17:35:26 +0000
Subject: [PATCH] Create tls cert for scuttlebot

---
 src/freedombone-app-scuttlebot | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/freedombone-app-scuttlebot b/src/freedombone-app-scuttlebot
index 03b1e4214..c2a20dcd7 100755
--- a/src/freedombone-app-scuttlebot
+++ b/src/freedombone-app-scuttlebot
@@ -412,6 +412,10 @@ function install_scuttlebot {
 
     SCUTTLEBOT_ONION_HOSTNAME=$(add_onion_service scuttlebot 80 ${SCUTTLEBOT_ONION_PORT})
     scuttlebot_git_setup
+
+    function_check create_site_certificate
+    create_site_certificate ${SCUTTLEBOT_DOMAIN_NAME} 'yes'
+
     systemctl restart nginx
 
     if ! grep -q "scuttlebot version:" ${COMPLETION_FILE}; then
-- 
GitLab