Skip to content

Instantly share code, notes, and snippets.

@Eugeny Eugeny/gist:6038158
Created Jul 19, 2013

Embed
What would you like to do?
Debugging stunnel problems in Ajenti:
0. Disable SSL in ajenti:
change "ssl": { "enable": true to false in /etc/ajenti/config.json
service ajenti restart
1. Regenerate the certificate
ajenti-ssl-gen hostname -f
2. Create following config file /tmp/stunnel.conf
cert = /etc/ajenti/ajenti.pem
foreground = yes
pid =
[default]
accept = 0.0.0.0:8001
connect = 127.0.0.1:8000
3. Start stunnel:
stunnel /tmp/stunnel.conf
4. Check for errors; you should be able to access Ajenti through https://<ip>:8001
Please let me know if you get any errors on any of these steps.
@digitup

This comment has been minimized.

Copy link

digitup commented Sep 28, 2013

I get no errors but I still cannot access the panel through https://:8001 or https://:8000 however I can access the application by using http protocol and get a Insecure communication Your credentials will be transmitted in plain text! error /warning

@hezbucho

This comment has been minimized.

Copy link

hezbucho commented Aug 28, 2014

In case you never figured this out, I was facing the exact same problem but turns out I was only experiencing this issue behind my company's firewall.. https:// works like a charm outside the office.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.