Browse Source

Make certificates for microblog

Bob Mottram 10 years ago
parent
commit
d5a48f6646
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      install-freedombone.sh

+ 4
- 0
install-freedombone.sh View File

2404
 
2404
 
2405
   configure_php
2405
   configure_php
2406
 
2406
 
2407
+  if [ ! -f /etc/ssl/private/$MICROBLOG_DOMAIN_NAME.key ]; then
2408
+      makecert $MICROBLOG_DOMAIN_NAME
2409
+  fi
2410
+
2407
   nginx_ensite $MICROBLOG_DOMAIN_NAME
2411
   nginx_ensite $MICROBLOG_DOMAIN_NAME
2408
   service php5-fpm restart
2412
   service php5-fpm restart
2409
   service nginx restart
2413
   service nginx restart