Roundcube SSL Problem Debian Bookworm

Discussion in 'Installation/Configuration' started by Taxi, Jan 19, 2024.

  1. Taxi

    Taxi Member

    Hello
    I have problems accessing roundcube: https://site.com/webmail comes up with an "Secure Connection Failed" error. https://site.com is working and showing me the Let's encrypt certificate correctly.
    The same error with phpmyadmin: I can't access it any more.
    Any idea, experience?
    Many thanks
    Christian
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    What does browser show about the certificate, address bar left edge icon for the webmail?
    Check dovecot is using the correct certificate. Maybe try restarting dovecot and postfix, does this fix the certificate?
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

  4. Taxi

    Taxi Member

    Many thanks for your super fast answer. The browser says: Connection not secure and shows the padlock with an exclamation mark. When I click on "More Information", no certificate is shown.
    I restarted them, I reinstalled roundcube, but no change.
    The certificates in the config files point correctly to /root/.acme.sh/server.com/xy.key and xy.cer
    It looks to me that as soon as I place a /webmail or /phpmyadmin the connection does not stay in the secure mode.
    How comes?
     
  5. Taxi

    Taxi Member

    With Firefox: Same Error: Secure Connection Failed
    With Chrome:
    Bad Request
    Your browser sent a request that this server could not understand.
    Reason: You're speaking plain HTTP to an SSL-enabled server port.
    Instead use the HTTPS scheme to access this URL, please.
     
  6. Taxi

    Taxi Member

  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Does it work with http instead of https?
    And how old is this installation and which guide did you use to install it?
     
  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Maybe you have changed hostname? Try commands
    Code:
    hostname
    hostname -f
    and use what hostname -f shows when accessing webmail and phpmyadmin.
     
  9. Taxi

    Taxi Member

    They are the same and I was trying them also. Same error.
     
  10. Taxi

    Taxi Member

    No, unfortunately not. The error message is as mentioned:
    Bad Request
    Your browser sent a request that this server could not understand.
    Reason: You're speaking plain HTTP to an SSL-enabled server port.
    Instead use the HTTPS scheme to access this URL, please.

    The ispconfig installation I'm keeping updated: ISPConfig Version: 3.2.11p1
    I Installed the server I think some 3 years ago. And used the Perfect Server guide from you. And it worked perfect. :) Many thanks at this stage for your documentation and help here!
    As I said before, I did an update on my debian server (bookwoorm) and after that I had the problems.
     
  11. Taxi

    Taxi Member

  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Today's recommended ISPConfig installation method is the auto-installer. It's mentioned at the top of the Debian 12 perfect server guide to use the auto-installer and not the manual installation instructions. The manual install instructions are only for very special cases like Companies building their own custom non-standard ISPConfig setup or ARM installs.
     
    Taxi likes this.
  13. Taxi

    Taxi Member

    Well, a few years when I installed the server with ISPConfig this was not an option. What I don't want is to reinstall ISPConfig.
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

  15. Taxi

    Taxi Member

    Many thanks for your support!
    Sometimes time is healing it...
    Don't ask me why, but this morning I looked in my browser and found the Roundcube login there! Checkt with other domains.com/webmail and it works.
    Checked phpmyadmin and it works!
    What I did? I did another apt update and apt upgrade. Maybe it was an issue with php. After I rechecked all settings of the config files according to your Perfect Server Documentation, the only thing I recognized was that php8.2 was reconfigured after I did:
    a2enmod proxy_fcgi setenvif
    a2enconf php8.2-fpm
    So, if anyone here is having same problems, check your php version and modules.

    Thanks
    Christian
     
    ahrasis and till like this.

Share This Page