Enable SSL on RoundCube

Discussion in 'ISPConfig 3 Priority Support' started by LinuxPete, Oct 20, 2017.

  1. LinuxPete

    LinuxPete Member HowtoForge Supporter

    Hi,
    When I attempt to connect to roundcube with https I get "secure connection failure" happens on Firefox and Chrome.
    If I use http://mydomain.net:8081/squirrelmail, I can reach the login box but it tells me it is not secure.
    I've double checked my nginx entries for the domain, they are right out of the "The Perfect Server - CentOS 7 x86_64 (nginx, Dovecot, ISPConfig 3)" from 2014 (it's been a while)
    I have 'letsencrypt' turned on for the website and all the websites on this server.
    I can get to the host with https or http with no problem.
    Ispconfig come up with https.
    I've checked out the certs at SSL Protocol Test https://www.ssllabs.com/ssltest/
    The log for the domain has a handshake error:
    2017/10/20 10:43:49 [crit] 29165#0: *1054 SSL_do_handshake() failed (SSL: error:14094085:SSL routines:ssl3_read_bytes:ccs received early) while SSL handshaking, client: 64.41.200.102, server: 0.0.0.0:443

    Can I get some insight as to how to fix this problem.
    My system consists of
    Centos7, nginx, dovecot, and Isp3config 3.1.7p1

    Any help will be appreciated.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no problem with your installation, the apps vhost has just no SSL by default. If you want to have SSL in the apps vhost as well, then edit the apps vhost file in the nginx sites-available folder and add the ssl lines similar to the ones that you can find in the ispconfig vhost file.
     
    LinuxPete likes this.
  3. LinuxPete

    LinuxPete Member HowtoForge Supporter

    Thanks, till.
    That fixed it.
     

Share This Page