nginx: enabling SSL option does not enable https on the site

Discussion in 'Server Operation' started by maxxer, Sep 4, 2017.

  1. maxxer

    maxxer Member

    I've a fresh installation of 3.1.6 on Ubuntu16.04. I'm having troubles enabling SSL for sites, I do check the option but when the cron runs it does nothing. I tried enabling debug but cannot see what's going wrong. If I enter the site settings again I see the SSL option enabled, but yet the nginx config is not enabled for https for that site. Here's the debug output:

    Code:
    # /usr/local/ispconfig/server/server.sh
    
    
    04.09.2017-11:21 - DEBUG - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raised by action 'server_plugins_loaded'.
    04.09.2017-11:21 - DEBUG - Found 1 changes, starting update process.
    04.09.2017-11:21 - DEBUG - Calling function 'ssl' from plugin 'nginx_plugin' raised by event 'web_domain_update'.
    04.09.2017-11:21 - DEBUG - Calling function 'update' from plugin 'nginx_plugin' raised by event 'web_domain_update'.
    04.09.2017-11:21 - DEBUG - SSL Disabled. lorenzo.mile.si
    04.09.2017-11:21 - DEBUG - Writing the vhost file: /etc/nginx/sites-available/lorenzo.mile.si.vhost
    04.09.2017-11:21 - DEBUG - Writing the PHP-FPM config file: /etc/php/7.1/fpm/pool.d/web2.conf
    04.09.2017-11:21 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
    04.09.2017-11:21 - DEBUG - Restarting php-fpm: systemctl reload php7.1-fpm.service
    04.09.2017-11:21 - DEBUG - nginx status is: running
    04.09.2017-11:21 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
    04.09.2017-11:21 - DEBUG - Checking nginx configuration...
    04.09.2017-11:21 - DEBUG - nginx configuration ok!
    04.09.2017-11:21 - DEBUG - Restarting httpd: systemctl restart nginx.service
    04.09.2017-11:21 - DEBUG - nginx restart return value is: 0
    04.09.2017-11:21 - DEBUG - nginx online status after restart is: running
    04.09.2017-11:21 - DEBUG - Processed datalog_id 53
    04.09.2017-11:21 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    finished.
    Why it says SSL Disabled?
    Thanks
     
  2. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    Did you saved the cert and key before enabling ssl?
     
  3. maxxer

    maxxer Member

    :(
    I knew it was something stupid, but didn't manage to find it. too distracted, thanks for the suggestion (and solution).
     

Share This Page