webmail SSL/vhost

Discussion in 'Server Operation' started by Henri K. Behari, Dec 10, 2016.

  1. Henri K. Behari

    Henri K. Behari New Member

    I have used h t t p s : / / g i t h u b . c o m / s e r v i s y s / i s p c o n f i g _ s e t u p and everything works fine, however when I use SSL on the websites than the h t t p s : / / v h o s t / w e b m a i l / doesn't work anymore. h t t p s : / / I P _ A d d r e s s / w e b m a i l / does works. Any quick workaround?
     
  2. sjau

    sjau Local Meanie Moderator

    you need to setup the ssl in the website configuration in ispc
     
  3. Henri K. Behari

    Henri K. Behari New Member

    As I said SSL doesn't work on the /webmail/ sites, so it means I have created the SSL for the sites on ISPConfig. I think it's bug e.g. it's not adding the vhost data to /etc/apache2/conf-available/roundcube.conf
     
  4. sjau

    sjau Local Meanie Moderator

    I don't know what you mean with /webmail/ sites.
     
  5. Henri K. Behari

    Henri K. Behari New Member

    sites e.g. my vhosts on the server. btw: also ISPConfig at 8080 works only if I use h t t p s : / / I P _ A d d : 8 0 8 0 / Thus whenever I select ssl on a site, ISPConfig too stops working at h t t p s : / / v h o s t : 8 0 8 0 /
     
  6. sjau

    sjau Local Meanie Moderator

    how about you provide actual domain names so that we can have a look?
     
  7. Henri K. Behari

    Henri K. Behari New Member

  8. sjau

    sjau Local Meanie Moderator

    hmmm, seems the alias isn't working properly. can you also paste the alias?
     
  9. Henri K. Behari

    Henri K. Behari New Member

    /etc/roundcube/apache.conf

    <VirtualHost *:80>
    # Those aliases do not work properly with several hosts on your apache server
    # Uncomment them to use it or adapt them to your configuration
    # Alias /roundcube /var/lib/roundcube
    Alias /webmail /var/lib/roundcube

    <IfModule mod_ssl.c>
    <VirtualHost *:443>
    # Those aliases do not work properly with several hosts on your apache server
    # Uncomment them to use it or adapt them to your configuration
    # Alias /roundcube /var/lib/roundcube
    Alias /webmail /var/lib/roundcube

    I have tried both aliases.
     
  10. sjau

    sjau Local Meanie Moderator

    then I don't know... I thought maybe webmail alias wasn't set in the ssl part.
     
  11. Henri K. Behari

    Henri K. Behari New Member

  12. sjau

    sjau Local Meanie Moderator

    I have no idea what gce is or how cloudflare works...
     
  13. Henri K. Behari

    Henri K. Behari New Member

    Try it, it's FREE! Cheap testing and debugging.

    [Fri Dec 16 23:19:33.413422 2016] [ssl:warn] [pid 784] AH01909: displyz.com:443:0 server certificate does NOT include an ID which matches the server name
     
  14. sjau

    sjau Local Meanie Moderator

    I have no need for that.
     

Share This Page