This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Cant access after SSL
#1
Cant access after SSL
Hi guys.
I installed ssl for my domain and its working now. ( https://freenettr.com/ )
But after ssl, my control panel is not working. ( http://212.47.234.120/ )
I installed ssl with THIS way.
And my httpd-vhosts.conf is;

Code:
################################################################
# Apache VHOST configuration file
# Automatically generated by Sentora 1.0.3
# Generated on: 20:55 5th Aug 2016 EEST
#==== YOU MUST NOT EDIT THIS FILE : IT WILL BE OVERWRITTEN ====
# Use Sentora Menu -> Admin -> Module Admin -> Apache config
################################################################

Listen 80
Listen 443

# Configuration for Sentora control panel.
<VirtualHost *:80>
ServerAdmin zadmin@localhost
DocumentRoot "/etc/sentora/panel/"
ServerName panel
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)
##################################################
# Apache VHOST configuration file
# Customised entries for Sentora
##################################################

NameVirtualHost *:443

# Configuration for Sentora control panel.

SSLEngine on
SSLProtocol SSLv3
SSLCertificateFile /etc/apache2/ssl/Sentora.crt
SSLCertificateKeyFile /etc/apache2/ssl/Sentora.key
ServerAdmin zadmin@localhost
DocumentRoot "/etc/Sentora/panel/"
ServerName id-network.org
ServerAlias Sentora.id-network.org

Redirect Permanent / https://Sentora.id-network.org/
</VirtualHost>

################################################################
# Sentora generated VHOST configurations below.....
################################################################

# DOMAIN: freenettr.com
<virtualhost *:443>
ServerName freenettr.com
ServerAlias  www.freenettr.com
ServerAdmin zadmin@localhost
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/freenettr_com"
php_admin_value open_basedir "/var/sentora/hostdata/zadmin/public_html/freenettr_com:/var/sentora/temp/"
php_admin_value 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/freenettr.com-error.log"
CustomLog "/var/sentora/logs/domains/zadmin/freenettr.com-access.log" combined
CustomLog "/var/sentora/logs/domains/zadmin/freenettr.com-bandwidth.log" common
<Directory "/var/sentora/hostdata/zadmin/public_html/freenettr_com">
 Options +FollowSymLinks -Indexes
 AllowOverride All
 Require all granted
</Directory>
AddType application/x-httpd-php .php3 .php
ErrorDocument 404 /_errorpages/404.html
ErrorDocument 403 /_errorpages/403.html
ErrorDocument 500 /_errorpages/500.html
ErrorDocument 510 /_errorpages/510.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)
SSLEngine on

SSLCertificateFile /var/sentora/hostdata/zadmin/ssl_certs/billing_domain_tld/certificate.crt
SSLCertificateKeyFile /var/sentora/hostdata/zadmin/ssl_certs/billing_domain_tld/certificate.key
SSLCACertificateFile /var/sentora/hostdata/zadmin/ssl_certs/billing_domain_tld/certificate.ca-bundle
</virtualhost>
# END DOMAIN: freenettr.com
################################################################



# DOMAIN: freenettr.com
# PORT FORWARD FROM 80 TO: 443
<virtualhost *:80>
ServerName freenettr.com
ServerAlias www.freenettr.com
ServerAdmin zadmin@localhost
RewriteEngine on
ReWriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]
</virtualhost>
# END DOMAIN: freenettr.com


What is the problem? Thanks.
Reply
Thanks given by:
#2
RE: Cant access after SSL
First off, you should be accessing your panel using a sub-domain, not by IP. Also, if I try https://212.47.234.120/ it goes to your hosting space instead of panel login.

Also I noticed you did not properly update the file paths for your SSL certificates:


Code:
SSLCertificateFile /var/sentora/hostdata/zadmin/ssl_certs/billing_domain_tld/certificate.crt
SSLCertificateKeyFile /var/sentora/hostdata/zadmin/ssl_certs/billing_domain_tld/certificate.key
SSLCACertificateFile /var/sentora/hostdata/zadmin/ssl_certs/billing_domain_tld/certificate.ca-bundle

It still says 'billing_domain_tld' and the certificate names also...
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by: diamondhead
#3
RE: Cant access after SSL
(08-06-2016, 05:17 AM)TGates Wrote: First off, you should be accessing your panel using a sub-domain, not by IP. Also, if I try https://212.47.234.120/ it goes to your hosting space instead of panel login.

Also I noticed you did not properly update the file paths for your SSL certificates:


Code:
SSLCertificateFile /var/sentora/hostdata/zadmin/ssl_certs/billing_domain_tld/certificate.crt
SSLCertificateKeyFile /var/sentora/hostdata/zadmin/ssl_certs/billing_domain_tld/certificate.key
SSLCACertificateFile /var/sentora/hostdata/zadmin/ssl_certs/billing_domain_tld/certificate.ca-bundle

It still says 'billing_domain_tld' and the certificate names also...

Thanks for answer TGates. My sentora panel subdomain is panel. (panel.freenettr.com)
But its not opening properly.I added A record but its not fix.
I changed ssl paths;

Code:
SSLCertificateFile /var/sentora/hostdata/zadmin/ssl_certs/freenettr_com/freenettr_com.crt
SSLCertificateKeyFile /var/sentora/hostdata/zadmin/ssl_certs/freenettr_com/freenettr_com.key
SSLCACertificateFile /var/sentora/hostdata/zadmin/ssl_certs/freenettr_com/freenettr_com.ca-bundle

Is this right? I Am Very Confused About SSL.I cant access to my panel.What can i do for fixing this? Can you help please?
Reply
Thanks given by:
#4
RE: Cant access after SSL
(08-06-2016, 07:05 AM)diamondhead Wrote:
(08-06-2016, 05:17 AM)TGates Wrote: First off, you should be accessing your panel using a sub-domain, not by IP. Also, if I try https://212.47.234.120/ it goes to your hosting space instead of panel login.

Also I noticed you did not properly update the file paths for your SSL certificates:


Code:
SSLCertificateFile /var/sentora/hostdata/zadmin/ssl_certs/billing_domain_tld/certificate.crt
SSLCertificateKeyFile /var/sentora/hostdata/zadmin/ssl_certs/billing_domain_tld/certificate.key
SSLCACertificateFile /var/sentora/hostdata/zadmin/ssl_certs/billing_domain_tld/certificate.ca-bundle

It still says 'billing_domain_tld' and the certificate names also...

Thanks for answer TGates. My sentora panel subdomain is panel. (panel.freenettr.com)
But its not opening properly.I added A record but its not fix.
I changed ssl paths;

Code:
SSLCertificateFile /var/sentora/hostdata/zadmin/ssl_certs/freenettr_com/freenettr_com.crt
SSLCertificateKeyFile /var/sentora/hostdata/zadmin/ssl_certs/freenettr_com/freenettr_com.key
SSLCACertificateFile /var/sentora/hostdata/zadmin/ssl_certs/freenettr_com/freenettr_com.ca-bundle

Is this right? I Am Very Confused About SSL.I cant access to my panel.What can i do for fixing this? Can you help please?

Friend, you can make a search in the forum, while several tutorials explaining.
Reply
Thanks given by:
#5
RE: Cant access after SSL
http://panel.freenettr.com/ shows me your panel login working just fine.
https://panel.freenettr.com/ shows me an SSL error. (Insecure connection: certificate is for freenettr.com)
https://freenettr.com/ shows me your website.
http://freenettr.com/ redirects and shows me your https website also.
http://212.47.234.120/ now points to your panel login.

All seem to be working OK using your current setup.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
SSH Access rsthomas 2 4 ,992 01-06-2021, 12:14 AM
Last Post: rsthomas
No access after reinstall brucecy92 1 3 ,583 10-10-2020, 01:50 PM
Last Post: Jettaman
MySQL remote access... pixelbat 11 38 ,044 05-02-2020, 07:40 PM
Last Post: upendra.sahu1990@gmail.com

Forum Jump:


Users browsing this thread: 1 Guest(s)