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.
On centos you need to modify /etc/httpd/conf/httpd.conf and include the new panel SSL conf file.
Thanks for the clean guide.
M B
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