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.

Global Sentora entry
#11
RE: Global Sentora entry
First off, there are several issues with your setup.

First, you can change the extensions of the certificates. Big Grin

Second, Sentora does not load or use ssl.conf file (Everything is done in the httpd-vhosts.conf file) Tongue

Third, Sentora also does not use /var/www/ folder at all. Huh 

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
Reply
Thanks given by: Samuel
#12
RE: Global Sentora entry
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
Code:
<virtualhost *:80>
to

Code:
<virtualhost *:443>

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 Confused
Reply
Thanks given by:
#13
RE: Global Sentora entry
Huh

I do not see the SSL entries in the file Sad
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 Wink
-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: Samuel
#14
RE: Global Sentora entry
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 [Image: DO_Logo_Horizontal_Blue-3db19536.png]

-= Github =-  -= My Repo =-

My Modules
Reply
Thanks given by: Samuel
#15
RE: Global Sentora entry
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!
Reply
Thanks given by:
#16
RE: Global Sentora entry
Glad it is working, but when the daemon rewrites the file, I hope it doesn't come back Wink
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
Reply
Thanks given by: Samuel


Possibly Related Threads…
Thread Author Replies Views Last Post
Is Sentora dead? rajeevrrs 2 3 ,067 12-17-2022, 09:20 AM
Last Post: TGates
Sentora debug and error files johnnyp 0 1 ,187 10-27-2022, 06:16 PM
Last Post: johnnyp
Transfer Account to another Sentora BenI 1 2 ,628 07-21-2022, 07:19 PM
Last Post: Nigel

Forum Jump:


Users browsing this thread: 1 Guest(s)