Login loop

Discussion in 'Installation/Configuration' started by FredZinsli, May 15, 2018.

  1. FredZinsli

    FredZinsli New Member

    My login continually loops even after a successful login. So I always end up at the login screen.
    I've cleared the cache/cookies in my browser (chrome).

    Issue started after I attempted "php -q update.php" to update the control panel cert. This was because under SSL "Lets Encrypt" wasn't available as expected.
    The server was working just fine prior to my tinkering.

    Outcome:
    Have a secure control panel with a self signed cert.
    Create a self signed cert for a website I currently host.

    I used
    The Perfect Server - Debian 9 (Stretch) with Apache, BIND, Dovecot, PureFTPD and ISPConfig 3.1
    to create the server.
    I only have one website at the moment but I am looking at others.

    Your comments would be most helpful

    Regards

    Fred
     
  2. Taleman

    Taleman Active Member HowtoForge Supporter

    Are you using httpS url now?
    Check logs for errors, maybe ISPConfig can not access the database.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Might be a browser issue. Delete all cookies in your browser from the server hostname or domain that you use for login and empty the browser cache.
     
  4. ztk.me

    ztk.me ISPConfig Developer ISPConfig Developer

    the only time I faced this issue, when accessing ISPConfig using the IP ( and ignore cert error ) - sometimes happened I wasn't able to login until I accessed ISPConfig using some domain name. Might be a browser issue, server config, meh meh meh ;)
     
  5. FredZinsli

    FredZinsli New Member

    I have managed to login to the control panel using http://fqdn.tld:8080 however it continually loops if I use http://ip.of.local.server:8080
    If I attempt to use https://ip.of.local.server or https://fqdn.tld I get the following error "ERR_SSL_PROTOCOL_ERROR"
    I have attempted to use this to create a cert for the control panel, but the instructions for startssl seem to have changed and I wasn't sure what to do.
    And when I go to domain|SSL in the control panel I cannot find "lets encrypt" to creat a self signed cert for the domain in ispconfig.

    Regards

    Fred
     
  6. ztk.me

    ztk.me ISPConfig Developer ISPConfig Developer

    yeah, seems like an issue with the session cookie if you browse using the ip:8080.

    Create a website using the servername, check the ispconfig.vhost file for the cert locations and link them to the letsencrypt cert of the created website. Use that servername to link to webmail, phpmyadmin, munin .... there are several howtos and I think a, slightly complicated, github toolls & howto somewhere.
     

Share This Page