Anope Support > 2.0.x/1.9.x Support

Webcpanel Connection via HTTPS dont work

(1/2) > >>

Rene:
hello anybody :) i have setup anope 2.0.6 and activate the webcpanel for it. now my problem is the connection from the url for default is http://url:8080 but i will connect with https://url:8080 i activate the m_ssl_openssl module in the modules.example.conf .. whats wrong?

how can i connect via https://url:8080 to the webcpanel ?
For a better understanding ...
I installed Plesk on my server and encrypted my domain using SSL Encrypt for SSL / TSL. Now I would like the data entered in the webcpanel are also encrypted this happens so if you use HTTPS ..
I hope you understand me I'm from Germany
I have encrypted the domain with Lets Encrypt so that all data entered in forms are encrypted.
But if I call  [HTTPS://domain:8080] an error comes
When I call the panel via HTTP it works but the data is not encrypted. if I go with firefox in the formularfeld he warns me that the connection is not encrypted entered data can get into wrong hands. I thought if I activate the SSL module in the modules.example.conf that I can then connect via HTTPS this is unfortunately not the case.

Please Help!
Here are 2 Pictures sorry i'm from germany

Rene:
Please HELP

Mohd Fhazal Aznan:
i also need help about this, i have certbot install for the domain, the cert is in letsencrypt folder, how i make it work with anope webcpanel

c-cris:
Hello,
This is what I did at home:

nano /etc/apache2/sites-available/webpanel.yourdomain.com.conf


--- Code: ---<VirtualHost *:80>
ProxyPreserveHost On
ProxyRequests Off
ServerName webpanel.yourdomain.com
ServerAlias webpanel.yourdomain.com
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
RewriteEngine on
RewriteCond %{SERVER_NAME} =webpanel.yourdomain.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

--- End code ---

sudo a2ensite webpanel.yourdomain.com
sudo systemctl reload apache2

sudo a2enmod ssl ( if not done )
sudo systemctl reload apache2

sudo certbot --apache ( Choose 2 for automatic redirection in https )

sudo systemctl reload apache2


Sorry for my English, I use the translator :p


Mohd Fhazal Aznan:

--- Code: ---Apr 04 01:26:46 vps apachectl[294810]: The Apache error log may have more information.
Apr 04 01:26:46 vps systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Apr 04 01:26:46 vps systemd[1]: Reload failed for The Apache HTTP Server.
Apr 04 01:26:53 vps systemd[1]: Reloading The Apache HTTP Server.
Apr 04 01:26:53 vps apachectl[294820]: AH00526: Syntax error on line 2 of /etc/apache2/sites-enabled/irc.mydomain.com.my.conf:
Apr 04 01:26:53 vps apachectl[294820]: Invalid command 'ProxyPreserveHost', perhaps misspelled or defined by a module not included in the server configuration
Apr 04 01:26:53 vps apachectl[294817]: Action 'graceful' failed.
Apr 04 01:26:53 vps apachectl[294817]: The Apache error log may have more information.
Apr 04 01:26:53 vps systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Apr 04 01:26:53 vps systemd[1]: Reload failed for The Apache HTTP Server.

--- End code ---

this happpen what i try to do like what u said, i have apache2 install in my box.

i already have configured virtual host on that domain, how do i modify it from the default code ?

i modify the default code and add yoiur reverse proxy code also enable the proxy module for apache2, seems like the https is still red, do u do anything on anope module config side??

Navigation

[0] Message Index

[#] Next page

Go to full version