Perfect Ubuntu 16.04 with Nginx - SSL not working?

Discussion in 'HOWTO-Related Questions' started by Pasco, Mar 27, 2017.

  1. Pasco

    Pasco Member

    Hi there
    I've just set up a perfect Ubuntu 16.04 with Nginx. But I can't get SSL working. I assume it should work "out of the box" or after proceeding the tutorial? Maybe I'm doing something wrong which I can't see, I'm a Nginx newbie...oops :).

    As far as I see, Nginx is not listing on port 443. (lsof -o :443 shows nothing)

    Thanks so much for your help.

    Cheers
    P@sco
     
  2. and what is listing on port :80?
    Of course if you have ngnix installed then it should work for SSL as well.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, SSL is normally working out of the box on servers that are installed with that tutorial. Are you talking about SSL in a website or SSL for the ISPConfig Interface? and please post the output of:

    netstat -tap | grep nginx

    and

    netstat -tap | grep apache
     
  4. LotNoMore

    LotNoMore Member

    OK, I am new to this. I can get SSL working for ISPConfig interface and login, not for my websites. I have set up two websites so far with ISPConfig: angelright.com and angelrights.com - none of them is working for https access. I have marked both SSL and Let's Encrypt SSL options. Maybe I should have chosen one only? I want both to have the Let's Encrypt SSL.

    Do I have to install Let's Encrypt first? I thought it was included within the final step of ISPConfig installation. Looks like it was not.
     
  5. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    It's more like your said sites are using apache and not nginx, which is not this thread originally is talking about.

    Furthermore, I think if you followed the perfect server tutorials properly, normally you shouldn't face this problem at all.

    Check your LE logs for why and LE domain certs if they are so created but not properly link in its vhost.
     
  6. LotNoMore

    LotNoMore Member

    Thanks for your comments, I rebuilt the server with ubuntu 16.10 according to instructions given here https://www.howtoforge.com/tutorial...l-pureftpd-bind-postfix-doveot-and-ispconfig/ now everything is working fine. Great!
     

Share This Page