Posts: 3 ,663
Threads: 241
Joined: May 2014
Reputation:
85
Sex: Male
Thanks: 408
Given 599 thank(s) in 464 post(s)
RE: Global Sentora entry
11-11-2015, 06:15 PM
First off, there are several issues with your setup.
First, you can change the extensions of the certificates.
Second, Sentora does not load or use ssl.conf file (Everything is done in the httpd-vhosts.conf file)
Third, Sentora also does not use /var/www/ folder at all.
The certificate manager should work just fine...
Did you wait 5 or so minutes for the daemon to run?
After adding the SSL certificates, what does your /etc/sentora/configs/apache/httpd-vhosts.conf file look like?
-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
Posts: 12
Threads: 1
Joined: Jul 2015
Reputation:
0
Sex: Undisclosed
Thanks: 6
Given 0 thank(s) in 0 post(s)
RE: Global Sentora entry
11-11-2015, 07:44 PM
Code: ################################################################
# Apache VHOST configuration file
# Automatically generated by Sentora 1.0.3
# Generated on: 09:20 11th Nov 2015 CET
#==== YOU MUST NOT EDIT THIS FILE : IT WILL BE OVERWRITTEN ====
# Use Sentora Menu -> Admin -> Module Admin -> Apache config
################################################################
Listen 443
Listen 80
# Configuration for Sentora control panel.
<VirtualHost *:80>
ServerAdmin samuelzajakala@hotmail.com
DocumentRoot "/etc/sentora/panel/"
ServerName panel.bydcode.com
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: bydcode.com
<virtualhost *:80>
ServerName bydcode.com
ServerAlias www.bydcode.com
ServerAdmin samuelzajakala@hotmail.com
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/bydcode_com"
php_admin_value open_basedir "/var/sentora/hostdata/zadmin/public_html/bydcode_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/bydcode.com-error.log"
CustomLog "/var/sentora/logs/domains/zadmin/bydcode.com-access.log" combined
CustomLog "/var/sentora/logs/domains/zadmin/bydcode.com-bandwidth.log" common
<Directory "/var/sentora/hostdata/zadmin/public_html/bydcode_com">
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</Directory>
AddType application/x-httpd-php .php3 .php
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: bydcode.com
################################################################
# DOMAIN: clean4less.ie
<virtualhost *:80>
ServerName clean4less.ie
ServerAlias www.clean4less.ie
ServerAdmin dumitrase81@yahoo.com
DocumentRoot "/var/sentora/hostdata/carlos/public_html/clean4less_ie"
php_admin_value open_basedir "/var/sentora/hostdata/carlos/public_html/clean4less_ie:/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/carlos/clean4less.ie-error.log"
CustomLog "/var/sentora/logs/domains/carlos/clean4less.ie-access.log" combined
CustomLog "/var/sentora/logs/domains/carlos/clean4less.ie-bandwidth.log" common
<Directory "/var/sentora/hostdata/carlos/public_html/clean4less_ie">
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</Directory>
AddType application/x-httpd-php .php3 .php
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: clean4less.ie
################################################################
This is how my /etc/sentora/configs/apache/httpd-vhosts.conf looks like, I know I'm doing something wrong, but I dont know what, becuase http://bydcode.com and https://bydcode.com exist, but the https:// does not load my WordPress page, but it loads the default Apache index page. Also, if I change the
to
http://bydcode.com does not work, but https://bydcode.com does work, but the database is not beign loaded.. I know I'm doing something wrong, because I'm a total noob
Posts: 3 ,663
Threads: 241
Joined: May 2014
Reputation:
85
Sex: Male
Thanks: 408
Given 599 thank(s) in 464 post(s)
RE: Global Sentora entry
11-11-2015, 11:29 PM
I do not see the SSL entries in the file
I have tested the module with a self-signed certificate and it works as intended.
Your certificates should be in /var/sentora/hostdata/[username]/ssl/ and the domain's vhost should have the certificate includes and be changed to *:443... hmm..
Diablo925
I have tagged the module author. Maybe he can help us sort this out
-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
Posts: 164
Threads: 26
Joined: Jul 2014
Reputation:
20
Sex: Male
Thanks: 5
Given 90 thank(s) in 37 post(s)
RE: Global Sentora entry
11-11-2015, 11:37 PM
try open
/etc/httpd/conf.d/ssl.cnf
and pass the info
open Module Admin -->Apache Config
in the bottom select your domain and pass the content in here to
Sentora 1.0.3 on
My Modules
Posts: 12
Threads: 1
Joined: Jul 2015
Reputation:
0
Sex: Undisclosed
Thanks: 6
Given 0 thank(s) in 0 post(s)
RE: Global Sentora entry
11-12-2015, 02:42 AM
Solved.
The httpd-vhost had two entries on one domain, port 80 and port 443. I just deleted the port 80 entry and it works.. Awesome!
Thank you a lot guys!
Posts: 3 ,663
Threads: 241
Joined: May 2014
Reputation:
85
Sex: Male
Thanks: 408
Given 599 thank(s) in 464 post(s)
RE: Global Sentora entry
11-12-2015, 04:08 AM
Glad it is working, but when the daemon rewrites the file, I hope it doesn't come back
Keep an eye on it.
-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
|