This post is really "shiny" ! Only one word = THANKS!
[HOW TO] How to secure your sentora panel with SSL (HTTPS) easy guide
|
applying this tutorial in my vps
request to ip address, giving result of opening sentora login page any suggestion? (04-19-2015, 12:03 AM)carl.victor Wrote: applying this tutorial in my vps You say that when you access https://12.12.12.12 (your ip) it opens sentora panel login page? That is normal behavior I think. When theres nothing in the vhosts it defaults to the sentora login page.
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora Graphic and Web Design. Development. www.vanguardly.com (04-19-2015, 01:48 AM)apinto Wrote: You say that when you access https://12.12.12.12 (your ip) it opens sentora panel login page? nope, i also have one active website but requesting ip via browser gives me sentora login page never mind, solve it with a little modification in 'http-panel-ssl.conf' and 'Global Sentora Entry'
Great you solved it.
Can you kindky let us know what you modified to fix? Just to help people who might have the same issue in the future.
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora Graphic and Web Design. Development. www.vanguardly.com
RE: [HOW TO] How to secure your sentora panel with SSL (HTTPS) easy guide
04-19-2015, 09:14 PM
(This post was last modified: 04-19-2015, 09:19 PM by carl.victor.
Edit Reason: wrong codes
)
a little bit different from the tutorial
moved sentora to port 2083, same as Cpanel 1. i created new configuration files /etc/sentora/configs/apache/http-panel-redir.conf here is the configuration to force redirection from port 80 to port 2083 Code: <virtualhost *:80> then add this line to /etc/sentora/configs/apache/httpd.conf Code: Include /etc/sentora/configs/apache/http-panel-redir.conf 2. go to Server Admin > Sentora Config > set sentora apache port to 2083 3. go to Apache Admin, add these SSL configs to Global Sentora Entry Code: SSLProtocol all -SSLv2 -SSLv3 Code: php -q /etc/sentora/panel/bin/daemon.php this configuration also works well if you want to redirect sentora panel fqdn only to ssl port (443) just change the rewrite rules in first step to Code: <virtualhost *:80> when requesting sentora fqdn (via port 80), it will redirects you to desired port and protocol (https) but when requesting ip address, it will redirects to the first website listed in httpd-vhosts.conf just a little protection to my sentora login page with noob-ways
RE: [HOW TO] How to secure your sentora panel with SSL (HTTPS) easy guide
06-07-2015, 11:13 AM
(This post was last modified: 06-08-2015, 03:34 AM by mathijs.)
I am getting an error on the last step:
SSLCertificateFile takes one argument, SSL Server Certificate file ('/path/to/fi le' - PEM or DER encoded) (02-12-2015, 09:24 AM)SupaYoshi Wrote: So I had trouble securing my sentora panel with SSL and I had to create a topic over it. But now I understand it thanks to the help of Me.B. Thanks again. all credits go to you. Can we get the exact commands for centos 6.7 or centos 7? it's too confusing to translate to centos.
RE: [HOW TO] How to secure your sentora panel with SSL (HTTPS) easy guide
10-03-2015, 05:18 AM
(This post was last modified: 10-03-2015, 05:39 AM by zustudios.)
(02-12-2015, 09:59 AM)Me.B Wrote: Centos is almost similar to the above that apply only to Ubuntu. Can someone make a guide for centos 7?Or at least explain the different steps of ubuntu and centos? when I add:# Include SSL configuration for SSL panel Include /etc/sentora/configs/apache/http-panel-ssl.conf apache fails to restart Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details. httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled) Active: failed (Result: exit-code) since Fri 2015-10-02 15:37:09 EDT; 49s ago Process: 2623 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE) Process: 2622 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) Main PID: 2622 (code=exited, status=1/FAILURE) Oct 02 15:37:09 panel.zuhost.tk systemd[1]: Starting The Apache HTTP Server... Oct 02 15:37:09 panel.zuhost.tk httpd[2622]: AH00526: Syntax error on line 1...: Oct 02 15:37:09 panel.zuhost.tk httpd[2622]: SSLCertificateFile: file '/etc/...y Oct 02 15:37:09 panel.zuhost.tk systemd[1]: httpd.service: main process exit...E Oct 02 15:37:09 panel.zuhost.tk kill[2623]: kill: cannot find process "" Oct 02 15:37:09 panel.zuhost.tk systemd[1]: httpd.service: control process e...1 Oct 02 15:37:09 panel.zuhost.tk systemd[1]: Failed to start The Apache HTTP .... Oct 02 15:37:09 panel.zuhost.tk systemd[1]: Unit httpd.service entered faile.... Hint: Some lines were ellipsized, use -l to show in full. -- Logs begin at Fri 2015-10-02 14:41:27 EDT, end at Fri 2015-10-02 15:38:11 EDT Oct 02 15:37:09 panel.zuhost.tk systemd[1]: Starting The Apache HTTP Server... -- Subject: Unit httpd.service has begun with start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/lis...temd-devel -- -- Unit httpd.service has begun starting up. Oct 02 15:37:09 panel.zuhost.tk httpd[2622]: AH00526: Syntax error on line 17 of Oct 02 15:37:09 panel.zuhost.tk httpd[2622]: SSLCertificateFile: file '/etc/apac Oct 02 15:37:09 panel.zuhost.tk systemd[1]: httpd.service: main process exited, Oct 02 15:37:09 panel.zuhost.tk kill[2623]: kill: cannot find process "" Oct 02 15:37:09 panel.zuhost.tk systemd[1]: httpd.service: control process exite Oct 02 15:37:09 panel.zuhost.tk systemd[1]: Failed to start The Apache HTTP Serv -- Subject: Unit httpd.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/lis...temd-devel -- -- Unit httpd.service has failed. -- -- The result is failed. Oct 02 15:37:09 panel.zuhost.tk systemd[1]: Unit httpd.service entered failed st Oct 02 15:38:11 panel.zuhost.tk sshd[2596]: pam_unix(sshdession): session clos Oct 02 15:38:11 panel.zuhost.tk systemd-logind[352]: Removed session 21. lines 1-23 |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Secure Sentora Domains with Let's Encrypt | TGates | 27 | 97 ,147 |
06-08-2024, 05:06 PM Last Post: andykimpe |
|
Secure Sentora With SSLForFree | Chris L | 1 | 5 ,323 |
01-22-2020, 09:19 PM Last Post: ralphharder |
|
Fail2ban for Sentora (Centos 7) | bbspike | 14 | 48 ,677 |
01-14-2020, 07:32 AM Last Post: Vedran B |
Users browsing this thread: 5 Guest(s)