Myaugav
By:
Myaugav

Cannot access Ajenti-v

June 5, 2017 617 views
Networking Control Panels Nginx Ubuntu

Hi, I'm on Ubuntu 14.04 and using Ajenti-v. I had just installed SSL certificates with let's encrypt and had chosen fullchain.pem as SSL certificate in Ajenti-v. So, right now I lost access to control panel. I got an error "ERRCONNECTIONRESET" in Chrome.

And I ask second question: is there some way to change access to panel from domain.com:8000 and panel.domain.com:8000 to just panel.domain.com?

Thank you.

3 Answers

Hi @Myaugav

I don't know Ajenti, but did you remember to open port 443 and tick the SSL checkbox?
See this tutorial: https://seanmcn.com/2016/03/letsencrypt-ajenti-v/

Otherwise, you might need to connect to the server via SSH and modify the Nginx configuration by hand and allow the firewall port (if the firewall is enabled).

Hi, @hansen, thanks for the answer, but before my actions with SSL I had access to my panel via https://domain.com:8000 without any difficulties. So, I guess, that trouble is not in 443 port.

  • @Myaugav

    Okay, then I don't understand. You cannot have both http and https on the same port. So I guess you mean http://domain.com:8000 (not https).

    If you activate https, you need to assign a different port for https traffic - by default that would be port 443 unless you change that.

    But since you've locked yourself out of Ajenti, you need to access the server via SSH and modify the Nginx configuration by hand (and restart Nginx) and allow the firewall port (if the firewall is enabled).

    • The joke is that even when all my web-site was on http ajenti was on https. So I mean https://domain.com:8000 (it is default ajenti's settings and it had certificate by its own).
      May be you are right, but I totally have no clue how to do it via SSH. Probably gonna check tutorials section, may be there will be something useful for me.

      Sorry, if I misunderstood something, cause I'm totally not a professional at this :)

Opened 443 but didn't help. Any other suggestions anybody?

Have another answer? Share your knowledge.