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.

Runing page under https with sentora cp
#1
Runing page under https with sentora cp
Hello guys,

i have idea about runing control panel of sentora and hosting page under full https protocol. Is this possible? I have RapidSSL certs for: https:// and https://www. protocol under own site.

https://webhosting.com - webhosting site
https://webhosting.com:88 - sentora control panel

Very thank you for help.
Reply
Thanks given by:
#2
RE: Runing page under https with sentora cp
No idea how prepare config for this?
Reply
Thanks given by:
#3
RE: Runing page under https with sentora cp
As per the installation instructions and notes, you can not access the panel in that manner. It needs to be on its own sub domain (like panel.domain.com or panel.domain.com:port). You would need a different certificate. One that covers all sub domains (https://*.domain.com) or one for the panel login (https://panel.domain.com) and a separate one for your site (https://domain.com, https//www.domain.com).
It is not designed to function the way you are describing.
-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:
#4
RE: Runing page under https with sentora cp
Hi i looking for how update configuration for this. My RapidSSL certificate is for this https variants look here. Earlier when i use ISP3 for webhosting i haved variant at this certificate.

https://webhosting.com - webhosting site
https://webhosting.com:88 - control panel

Actualy in sentora:

http://webhosting.com - website
https://netstorm.com - control panel

But i need only https:// for acess on netstorm.cz i haevnt there any subdomain i know "RapidSSL" which i have is not for subdomain but only for domain. I found probably this sollution is good? Solution is https://wiki.apache.org/httpd/RedirectSSL

My actualy Sentora ports under apache for domain:

Code:
# Configuration for Sentora Control Panel.
<VirtualHost *:443>
    ServerName domain.cz
    ServerAdmin admin@domain.cz
    DocumentRoot "C:/Sentora/panel/"
    AddType application/x-httpd-php .php
    DirectoryIndex index.php index.html
<Directory "C:/Sentora/panel/">
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

# Custom settings are loaded below this line (if any exist)
    
SSLEngine on
SSLCertificateFile C:\Sentora\bin\apache\conf\ssl\server.crt
SSLCertificateKeyFile C:\Sentora\bin\apache\conf\ssl\server.key
</VirtualHost>

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

# DOMAIN: domain.cz
<VirtualHost *:80>
    ServerName domain.cz
    ServerAlias  www.domain.cz
    ServerAdmin admin@domain.cz
    DocumentRoot "C:/Sentora/www/admin/public_html/domain_cz"
    php_admin_value open_basedir "C:/Sentora/www/admin/public_html/domain_cz;C:/Sentora/www/admin/tmp;C:/Sentora/temp"
    php_admin_value suhosin.executor.func.blacklist "system, exec, shell_exec, passthru, proc_terminate, proc_nice, escapeshellcmd, escapeshellarg, popen, pclose, show_source, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, pcntl_exec"
    php_admin_value upload_tmp_dir "C:/Sentora/www/admin/tmp"
    php_admin_value session.save_path "C:/Sentora/www/admin/tmp"
    ErrorLog "C:/Sentora/logs/domains/admin/domain.cz-error.log"
    CustomLog "C:/Sentora/logs/domains/admin/domain.cz-access.log" combined
    CustomLog "C:/Sentora/logs/domains/admin/domain.cz-bandwidth.log" common
    DirectoryIndex index.php index.html index.htm index.shtml index.shtm
<Directory "C:/Sentora/www/admin/public_html/domain_cz">
    Options FollowSymLinks
    AllowOverride All
    Order Allow,Deny
    Allow from all
</Directory>
    AddType application/x-httpd-php .php .php3 .php4
    ScriptAlias /_cgi-bin/ "C:/Sentora/www/admin/public_html/domain_cz/_cgi-bin/"
<Location /_cgi-bin>
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
</Location>
    ErrorDocument 403 /_errorpages/403.html
    ErrorDocument 404 /_errorpages/404.html
    ErrorDocument 500 /_errorpages/500.html
    ErrorDocument 510 /_errorpages/510.html
# Custom Global Settings (if any exist)

# Custom VH settings (if any exist)

</VirtualHost>
# END DOMAIN: domain.cz
################################################################
Reply
Thanks given by:
#5
RE: Runing page under https with sentora cp
You do not add the panel domain inside the panel's dns manager nor domain manager. You will need to manually update the panel's domain in the database and in several config files (which I do not know offhand, like dovecot, postfix, etc.) And I can't be sure if the panel will even work correctly on a domain instead of a subdomain.
You are attempting to use/access the panel in a manner that it was not designed for.
-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
Is Sentora dead? rajeevrrs 2 3 ,061 12-17-2022, 09:20 AM
Last Post: TGates
Sentora debug and error files johnnyp 0 1 ,186 10-27-2022, 06:16 PM
Last Post: johnnyp
Transfer Account to another Sentora BenI 1 2 ,626 07-21-2022, 07:19 PM
Last Post: Nigel

Forum Jump:


Users browsing this thread: 1 Guest(s)