Can't connect to control panel after wrong attempt to configure ssl

Discussion in 'Installation/Configuration' started by Otoya_PK, Dec 2, 2019.

  1. Otoya_PK

    Otoya_PK New Member

  2. ahrasis

    ahrasis Well-Known Member

    That actually is not a problem. You can run that process again and choose to create ssl for ispconfig (which will be using the self-signed certs created during the process) and later change them to letsencrypt certs by following the tutorial again.
  3. Otoya_PK

    Otoya_PK New Member

    Already tried that, not fixing the problem,
    Is there a way to revert back to http, so i can log in, create the site & start the process again?
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Perhaps not back to http, but doing what @ahrasis wrote in #2 should get your ISPConfig Panel working with self signed HTTPS certificate. Then you can expiment with setting things up again.
  5. S.A.L.

    S.A.L. New Member

    I had a similar problem view days ago. I solved it by manually changing /etc/apache2/sites-available/ispconfig.vhost
    I inserted the "snakeoil" certificate and key, instead of the default ispconfig ones. So the SSL Configuration part of the vhosts-file looked like this (please make a backup if this file before):
    # SSL Configuration
      SSLEngine On
      SSLProtocol All -SSLv3
      SSLCertificateFile      /etc/ssl/certs/ssl-cert-snakeoil.pem
      SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
    #  SSLCertificateFile /usr/local/ispconfig/interface/ssl/ispserver.crt
    #  SSLCertificateKeyFile /usr/local/ispconfig/interface/ssl/ispserver.key
    #  SSLCACertificateFile /usr/local/ispconfig/interface/ssl/ispserver.bundle
    After that I was able to login in ispconfig again and could configure Let's encrypt with the tutorial.
    Of course, at the end you have to revert the changes of the ispconfig.vhost (or copy back the backup of that file you've made before) so it points again to its own certificate.
  6. Steini86

    Steini86 Active Member

    You can always manually edit your website config (to support http), however, ispconfig will overwrite it with the next update.

Share This Page