瀏覽代碼

Create tls cert for scuttlebot

Bob Mottram 7 年之前
父節點
當前提交
8d069c53ee
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. 4
    0
      src/freedombone-app-scuttlebot

+ 4
- 0
src/freedombone-app-scuttlebot 查看文件

@@ -412,6 +412,10 @@ function install_scuttlebot {
412 412
 
413 413
     SCUTTLEBOT_ONION_HOSTNAME=$(add_onion_service scuttlebot 80 ${SCUTTLEBOT_ONION_PORT})
414 414
     scuttlebot_git_setup
415
+
416
+    function_check create_site_certificate
417
+    create_site_certificate ${SCUTTLEBOT_DOMAIN_NAME} 'yes'
418
+
415 419
     systemctl restart nginx
416 420
 
417 421
     if ! grep -q "scuttlebot version:" ${COMPLETION_FILE}; then