Browse Source

Create tls cert for scuttlebot

Bob Mottram 7 years ago
parent
commit
8d069c53ee
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/freedombone-app-scuttlebot

+ 4
- 0
src/freedombone-app-scuttlebot View File

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