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.

[module] SSL_manager [linux]
#74
RE: [module] SSL_manager [linux]
(03-11-2015, 04:09 PM)seenko Wrote:
Quote:Invalid command 'IncludeOptional', perhaps misspelled or defined by a module not included in the server configuration

MarkDark found a fix for it, but I got another error right after, then I kinda fixed it and made this tutorial so people can easily follow, until we get an official fix, at least it worked for me!
Currently using Ubuntu 12.04.5
Instructions below:


Part I
Open the file: /etc/sentora/configs/apache/httpd.conf 

Search for this (probably near the last line):
IncludeOptional /etc/sentora/configs/apache/users_ssl/*.conf


Replace it to:
Include /etc/sentora/configs/apache/users_ssl/*.conf

Now try to restart apache:
service apache2 restart

If it said something about TLS and failed to restart, continue to part 2.
If it didn't and apache restarted successfully, you're done here.


Part II
Open the file: /etc/sentora/panel/modules/SSL_manager/code/controller.ext.php

Search for this (around line 180):
$write = "SSLProtocol -All +TLSv1 +TLSv1.1 +TLSv1.2\n"; 


Replace it to:
$write = "SSLProtocol All -SSLv2 -SSLv3\n";
Now go back to your control panel and remove the SSLs you added, and add them back, so it uses the updated code.

You're DONE!

Don't forget to restart apache!
service apache2 restart




WARNING: Maybe this change to the SSL mode created a security problem, maybe not, I'm not an expert at this, but it worked for me Tongue

I have only installed this today and it is stopping apache from restarting. I have checked your fix and applied and it gives this error

Starting httpd: Syntax error on line 5 of /etc/sentora/configs/apache/users_ssl/vps198612.ovh.net.conf:

Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration

Any help would be great
Thanks given by:


Messages In This Thread
[module] SSL_manager [linux] - by Diablo925 - 02-12-2015, 09:56 PM
RE: [module] [BETA] SSL_manager - by Me.B - 02-12-2015, 10:43 PM
RE: [module] [BETA] SSL_manager - by TGates - 02-12-2015, 11:17 PM
RE: [module] [BETA] SSL_manager - by Diablo925 - 02-12-2015, 11:24 PM
RE: [module] [BETA] SSL_manager - by Jayster - 02-13-2015, 12:13 AM
RE: [module] [BETA] SSL_manager - by Cantalupo - 02-13-2015, 08:43 AM
RE: [module] [BETA] SSL_manager - by lino69 - 02-13-2015, 10:17 AM
RE: [module] [BETA] SSL_manager - by Diablo925 - 02-13-2015, 07:28 PM
RE: [module] [BETA] SSL_manager - by Me.B - 02-13-2015, 07:29 PM
RE: [module] SSL_manager - by Diablo925 - 02-15-2015, 06:11 AM
RE: [module] SSL_manager [linux] - by Leomissão - 07-28-2015, 04:55 PM
RE: [module] SSL_manager [linux] - by Ron-e - 02-17-2015, 04:50 AM
RE: [module] SSL_manager [linux] - by Diablo925 - 02-17-2015, 07:08 AM
RE: [module] SSL_manager [linux] - by Diablo925 - 02-17-2015, 06:42 PM
RE: [module] SSL_manager [linux] - by Jayster - 02-18-2015, 03:53 AM
RE: [module] SSL_manager [linux] - by Diablo925 - 02-18-2015, 04:19 AM
RE: [module] SSL_manager [linux] - by twitah - 02-24-2015, 07:55 PM
RE: [module] SSL_manager [linux] - by artdenic - 03-11-2015, 08:57 AM
RE: [module] SSL_manager [linux] - by twitah - 03-11-2015, 02:15 PM
RE: [module] SSL_manager [linux] - by artdenic - 03-12-2015, 01:44 AM
RE: [module] SSL_manager [linux] - by artdenic - 03-12-2015, 07:52 AM
RE: [module] SSL_manager [linux] - by Ron-e - 02-25-2015, 04:17 AM
RE: [module] SSL_manager [linux] - by MarkDark - 02-25-2015, 12:27 PM
RE: [module] SSL_manager [linux] - by Ron-e - 02-28-2015, 12:40 AM
RE: [module] SSL_manager [linux] - by MarkDark - 02-28-2015, 05:00 AM
RE: [module] SSL_manager [linux] - by 421darren - 03-02-2015, 06:47 PM
RE: [module] SSL_manager [linux] - by mostafiz - 03-05-2015, 10:16 PM
RE: [module] SSL_manager [linux] - by kellenw - 03-11-2015, 03:12 PM
RE: [module] SSL_manager [linux] - by seenko - 03-11-2015, 04:09 PM
RE: [module] SSL_manager [linux] - by launchsolution - 09-06-2015, 08:43 AM
RE: [module] SSL_manager [linux] - by mostafiz - 03-13-2015, 10:21 PM
RE: [module] SSL_manager [linux] - by seenko - 03-14-2015, 03:27 AM
RE: [module] SSL_manager [linux] - by ebaya - 03-27-2015, 08:31 AM
RE: [module] SSL_manager [linux] - by Me.B - 03-27-2015, 06:17 PM
RE: [module] SSL_manager [linux] - by akong - 04-02-2015, 05:11 PM
RE: [module] SSL_manager [linux] - by tal221 - 05-11-2015, 10:47 PM
RE: [module] SSL_manager [linux] - by onlineth - 04-10-2015, 01:51 AM
RE: [module] SSL_manager [linux] - by moneya - 05-17-2015, 02:46 AM
RE: [module] SSL_manager [linux] - by parta - 05-14-2015, 12:00 PM
RE: [module] SSL_manager [linux] - by TGates - 05-14-2015, 12:28 PM
RE: [module] SSL_manager [linux] - by HGreatorex - 05-20-2015, 07:15 AM
RE: [module] SSL_manager [linux] - by elijahbate - 05-22-2015, 12:11 AM
RE: [module] SSL_manager [linux] - by moxarelli - 05-21-2015, 06:32 AM
RE: [module] SSL_manager [linux] - by elijahbate - 05-22-2015, 12:15 AM
RE: [module] SSL_manager [linux] - by Ron-e - 06-03-2015, 09:18 PM
RE: [module] SSL_manager [linux] - by elijahbate - 06-03-2015, 09:29 PM
RE: [module] SSL_manager [linux] - by Ron-e - 06-03-2015, 09:39 PM
RE: [module] SSL_manager [linux] - by elijahbate - 06-05-2015, 01:47 AM
RE: [module] SSL_manager [linux] - by elijahbate - 06-06-2015, 10:46 AM
RE: [module] SSL_manager [linux] - by Rick - 06-08-2015, 07:04 AM
RE: [module] SSL_manager [linux] - by apinto - 06-08-2015, 06:45 PM
RE: [module] SSL_manager [linux] - by elijahbate - 06-08-2015, 08:15 PM
RE: [module] SSL_manager [linux] - by Diablo925 - 06-08-2015, 09:29 PM
RE: [module] SSL_manager [linux] - by Rick - 06-09-2015, 04:15 AM
RE: [module] SSL_manager [linux] - by Rick - 06-09-2015, 05:10 AM
RE: [module] SSL_manager [linux] - by Diablo925 - 06-09-2015, 06:40 AM
RE: [module] SSL_manager [linux] - by elijahbate - 06-09-2015, 05:47 PM
RE: [module] SSL_manager [linux] - by SalmanQamar - 07-08-2015, 02:17 AM
RE: [module] SSL_manager [linux] - by rocky123xo - 07-25-2015, 11:15 AM
RE: [module] SSL_manager [linux] - by lupetalo - 07-26-2015, 07:50 AM
RE: [module] SSL_manager [linux] - by rocky123xo - 07-27-2015, 03:56 AM
RE: [module] SSL_manager [linux] - by yarrha - 08-03-2015, 10:32 PM
RE: [module] SSL_manager [linux] - by ijsje - 08-12-2015, 10:19 AM
RE: [module] SSL_manager [linux] - by Rynoxx - 08-17-2015, 01:26 AM
RE: [module] SSL_manager [linux] - by ijsje - 08-21-2015, 02:25 AM
RE: [module] SSL_manager [linux] - by eirabie - 08-26-2015, 10:26 PM
RE: [module] SSL_manager [linux] - by Diablo925 - 08-31-2015, 08:54 PM
RE: [module] SSL_manager [linux] - by rocky123xo - 09-02-2015, 07:59 AM
RE: [module] SSL_manager [linux] - by Diablo925 - 09-13-2015, 07:05 AM
RE: [module] SSL_manager [linux] - by TGates - 09-16-2015, 04:15 AM
RE: [module] SSL_manager [linux] - by Diablo925 - 09-16-2015, 03:36 PM
RE: [module] SSL_manager [linux] - by TGates - 09-17-2015, 03:33 AM
RE: [module] SSL_manager [linux] - by MarkDark - 09-17-2015, 06:50 PM
RE: [module] SSL_manager [linux] - by bbspike - 09-24-2015, 03:38 AM
RE: [module] SSL_manager [linux] - by Diablo925 - 09-24-2015, 05:07 AM
RE: [module] SSL_manager [linux] - by TGates - 09-24-2015, 06:47 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
[MODULE] phpMyAdmin-AU (Auto-Update) TGates 14 41 ,210 06-15-2021, 06:54 AM
Last Post: TGates
[MODULE] SenBrand - Basic Branding module for Sentora TGates 20 44 ,158 06-04-2021, 11:47 AM
Last Post: ccr1969
[MODULE] CoinCorner BitCoin Module Xversion 4 13 ,291 06-03-2021, 05:02 AM
Last Post: zHostingSolutions

Forum Jump:


Users browsing this thread: 3 Guest(s)