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.

Set up SSL manually
#11
RE: Set up SSL manually
As I mentioned, the panel Include should be last:

Code:
Listen 443
# Main domain SSL
Include /etc/sentora/configs/apache/ssl/ktmgaming_net.conf
# wp SSL
Include /etc/sentora/configs/apache/ssl/wp_ktmgaming_net.conf
# webmail SSL
Include /etc/sentora/configs/apache/ssl/webmail_ktmgaming_net.conf
# Panel SSL
Include /etc/sentora/configs/apache/ssl/panel_ktmgaming_net.conf
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support helpful? Donate HERE
Help me to help you by getting your domains using this link:
GoDaddy - Domains
Reply
Thanks given by:
#12
RE: Set up SSL manually
(09-15-2016, 02:05 PM)TGates Wrote: As I mentioned, the panel Include should be last:

Code:
Listen 443
# Main domain SSL
Include /etc/sentora/configs/apache/ssl/ktmgaming_net.conf
# wp SSL
Include /etc/sentora/configs/apache/ssl/wp_ktmgaming_net.conf
# webmail SSL
Include /etc/sentora/configs/apache/ssl/webmail_ktmgaming_net.conf
# Panel SSL
Include /etc/sentora/configs/apache/ssl/panel_ktmgaming_net.conf

I am sorry for the confusion. Panel.ktm... is multicraft for minecraft and wp.ktm... is for sentora. so the sentora panel is last in the list.
Russ
Co-Owner
KTMGaming.net
Reply
Thanks given by:
#13
RE: Set up SSL manually
Well, lol, that makes a difference.

Also make sure that apache restarted without any errors. Usually it won't start, but there are occasions it will, but does not load everything.

I tested all four domains and see what you mean. http webmail redirects to https sentora login. Looking into it.
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support helpful? Donate HERE
Help me to help you by getting your domains using this link:
GoDaddy - Domains
Reply
Thanks given by:
#14
RE: Set up SSL manually
I wonder if a hard-link is used if it will work (Like the panel uses):
Code:
# AddDefaultCharset    UTF-8
AddType text/x-component .htc

<IfModule mod_php5.c>
php_flag    display_errors    Off
php_flag    log_errors    On
# php_value    error_log    logs/errors

#Disable override if you require less memory size/process & upload size!
#Default was 5M / 6M / 64M
php_value    upload_max_filesize    25M
php_value    post_max_size        26M
php_value    memory_limit        128M

php_flag    register_globals    Off
php_flag    zlib.output_compression        Off
php_flag    magic_quotes_gpc        Off
php_flag    magic_quotes_runtime        Off
php_flag    zend.ze1_compatibility_mode    Off
php_flag     suhosin.session.encrypt     Off

#php_value    session.cookie_path        /
php_flag    session.auto_start    Off
php_value    session.gc_maxlifetime    21600
php_value    session.gc_divisor    500
php_value    session.gc_probability    1
</IfModule>

<IfModule mod_rewrite.c>
RewriteEngine On
# -- added by TGates - Start
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://webmail.ktmgaming.net/$1 [R,L]
# -- added by TGates - End
RewriteRule ^favicon\.ico$ skins/larry/images/favicon.ico

# security rules:
# - deny access to files not containing a dot or starting with a dot
#   in all locations except installer directory
RewriteRule ^(?!installer)(\.?[^\.]+)$ - [F]
# - deny access to some locations
RewriteRule ^/?(\.git|\.tx|SQL|bin|config|logs|temp|tests|program\/(include|lib|localization|steps)) - [F]
# - deny access to some documentation files
RewriteRule /?(README\.md|composer\.json-dist|composer\.json|package\.xml)$ - [F]
</IfModule>

<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
</IfModule>

<IfModule mod_headers.c>
# replace 'append' with 'merge' for Apache version 2.2.9 and later
#Header append Cache-Control public env=!NO_CACHE
</IfModule>

<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 month"
</IfModule>

FileETag MTime Size

<IfModule mod_autoindex.c>
Options -Indexes
</ifModule>
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support helpful? Donate HERE
Help me to help you by getting your domains using this link:
GoDaddy - Domains
Reply
Thanks given by:
#15
RE: Set up SSL manually
(09-15-2016, 02:30 PM)TGates Wrote: Well, lol, that makes a difference.

Also make sure that apache restarted without any errors. Usually it won't start, but there are occasions it will, but does not load everything.

I tested all four domains and see what you mean. http webmail redirects to https sentora login. Looking into it.

I was looking in the apache2 error log and found this in the log not sure if it will help.

Code:
Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
Russ
Co-Owner
KTMGaming.net
Reply
Thanks given by:
#16
RE: Set up SSL manually
I get that too. apparently it's a common notice
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support helpful? Donate HERE
Help me to help you by getting your domains using this link:
GoDaddy - Domains
Reply
Thanks given by:
#17
RE: Set up SSL manually
(09-15-2016, 03:02 PM)TGates Wrote: I get that too. apparently it's a common notice

Okay that is good to know. I will continue to check into various things as well. If you come up with a solution, I will happy to hear about it.
Russ
Co-Owner
KTMGaming.net
Reply
Thanks given by:
#18
RE: Set up SSL manually
did you try the hard-link redirect i mentioned above?
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support helpful? Donate HERE
Help me to help you by getting your domains using this link:
GoDaddy - Domains
Reply
Thanks given by:
#19
RE: Set up SSL manually
I have set everything up according to your tutorial which was very detailed. (Thank you by the way) if you want specific files let me know and I will give them to you.
Russ
Co-Owner
KTMGaming.net
Reply
Thanks given by:
#20
RE: Set up SSL manually
Confused 
I think you missed this post: http://forums.sentora.org/showthread.php...4#pid17854
Did you try that one yet?
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support helpful? Donate HERE
Help me to help you by getting your domains using this link:
GoDaddy - Domains
Reply
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
How Update phpMyAmin [manually] Cantalupo 8 5,162 05-29-2015, 07:10 PM
Last Post: iraqiboy90

Forum Jump:


Users browsing this thread: 1 Guest(s)