site not working after adding SSL code in Sentora override option
10-21-2017, 01:19 PM
(This post was last modified: 10-21-2017, 01:54 PM by premwithme.)
Hi My site not working after trying to add SSL certificate using Sentora override option as shown in the forum thread.
i removed the override and also 443 from httpd-vhosts.conf file. but even after that site not even opening in port 80.
Port 80 is open as shown below:
netstat -anp --tcp
And my current, httpd-vhosts.conf file content:
please let me know, how to fix this, I spent hell lot of time on it, Actually site working previously, I tried to install Letsencrypt and when I added the SSL certificate and 443 in override option. site stopped working. please do suggect me how to fix it. I have Firewalld installed, mod-ssl installed, now i turned off SSL Engine
I restored backup httpd-vhosts.conf file , SSL Engine on still issue not solved. Any pointer?
i removed the override and also 443 from httpd-vhosts.conf file. but even after that site not even opening in port 80.
Port 80 is open as shown below:
netstat -anp --tcp
Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 1235/dovecot
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 1235/dovecot
tcp 0 0 158.69.202.3:53 0.0.0.0:* LISTEN 832/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 832/named
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1208/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 1205/master
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 832/named
tcp 0 0 0.0.0.0:4190 0.0.0.0:* LISTEN 1235/dovecot
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 1205/master
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 1083/mysqld
tcp 0 52 158.69.202.3:22 157.50.21.188:3089 ESTABLISHED 6165/sshd: root@pts
tcp6 0 0 :::80 :::* LISTEN 6269/httpd
tcp6 0 0 :::21 :::* LISTEN 1384/proftpd: (acce
tcp6 0 0 :::53 :::* LISTEN 832/named
tcp6 0 0 :::22 :::* LISTEN 1208/sshd
tcp6 0 0 :::25 :::* LISTEN 1205/master
tcp6 0 0 :::443 :::* LISTEN 6269/httpd
tcp6 0 0 158.69.202.3:80 185.82.203.23:47090 TIME_WAIT -
And my current, httpd-vhosts.conf file content:
Code:
Listen 80
# Configuration for Sentora control panel.
<VirtualHost *:80>
ServerAdmin premwithme@gmail.com
DocumentRoot "/etc/sentora/panel/"
ServerName vps146982.vps.ovh.ca
ErrorLog "/var/sentora/logs/sentora-error.log"
CustomLog "/var/sentora/logs/sentora-access.log" combined
CustomLog "/var/sentora/logs/sentora-bandwidth.log" common
AddType application/x-httpd-php .php
<Directory "/etc/sentora/panel/">
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</Directory>
# Custom settings are loaded below this line (if any exist)
</VirtualHost>
Sentora generated VHOST configurations below.....
################################################################
# DOMAIN: sitekart.com
<virtualhost *:80>
ServerName sitekart.com
ServerAlias www.sitekart.com
ServerAdmin premwithme@gmail.com
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/sitekart_file"
open_basedir "/var/sentora/hostdata/zadmin/public_html/sitekart_file:/var/sentora/temp/"
suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"
ErrorLog "/var/sentora/logs/domains/zadmin/sitekart.com-error.log"
CustomLog "/var/sentora/logs/domains/zadmin/sitekart.com-access.log" combined
CustomLog "/var/sentora/logs/domains/zadmin/sitekart.com-bandwidth.log" common
<Directory "/var/sentora/hostdata/zadmin/public_html/sitekart_file">
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</Directory>
AddType application/x-httpd-php .php3 .php
ErrorDocument 404 /_errorpages/404.html
ErrorDocument 510 /_errorpages/510.html
ErrorDocument 403 /_errorpages/403.html
ErrorDocument 500 /_errorpages/500.html
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
# Custom Global Settings (if any exist)
# Custom VH settings (if any exist)
</virtualhost>
# END DOMAIN: sitekart.com
please let me know, how to fix this, I spent hell lot of time on it, Actually site working previously, I tried to install Letsencrypt and when I added the SSL certificate and 443 in override option. site stopped working. please do suggect me how to fix it. I have Firewalld installed, mod-ssl installed, now i turned off SSL Engine
I restored backup httpd-vhosts.conf file , SSL Engine on still issue not solved. Any pointer?