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]
#21
RE: [module] SSL_manager [linux]
(02-25-2015, 12:27 PM)MarkDark Wrote: IncludeOptional used for Apache v2.4.x

You have installed Apache 2.2.x
Use the Include directive

I changed it but the (sub)domain files in /etc/sentora/configs/apache/users_ssl aren't compatible with apache 2.2.x i think because i get other errors.

Code:
Stopping httpd:                                            [  OK  ]
Starting httpd: Syntax error on line 5 of /etc/sentora/configs/apache/users_ssl/                 cp.auxio.eu.conf:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not inclu                 ded in the server configuration
                                                          [FAILED]
Does anyone else have problems if this module and is using apache 2.2.x, or is it just me?

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Thanks given by:
#22
RE: [module] SSL_manager [linux]
I now it is tested for apache 2.2.29 as soon as the check completion, I'll let you know!
(02-28-2015, 12:40 AM)Ron-e Wrote:
(02-25-2015, 12:27 PM)MarkDark Wrote: IncludeOptional used for Apache v2.4.x

You have installed Apache 2.2.x
Use the Include directive

I changed it but the (sub)domain files in /etc/sentora/configs/apache/users_ssl aren't compatible with apache 2.2.x i think because i get other errors.


Code:
Stopping httpd:                                            [  OK  ]
Starting httpd: Syntax error on line 5 of /etc/sentora/configs/apache/users_ssl/                 cp.auxio.eu.conf:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not inclu                 ded in the server configuration
                                                          [FAILED]
Does anyone else have problems if this module and is using apache 2.2.x, or is it just me?
Thanks given by:
#23
RE: [module] SSL_manager [linux]
Works fine with SelfSigned at the 1st shot !
Just to remember:
check if You have installed openssl and mod_ssl
install ssl_manager as described in this post
wait 5 mnts
restart httpd service
voila !
Thanks given by:
#24
RE: [module] SSL_manager [linux]
i face this erorr when i install

Notice: Undefined property: XMLTag::$type in /etc/sentora/panel/dryden/ui/module.class.php on line 82

Notice: Trying to get property of non-object in /etc/sentora/panel/dryden/ui/module.class.php on line 82
Module installed successfully!

when i try to restart httpd then i face this erorr
Syntax error on line 39 of /etc/sentora/configs/apache/httpd.conf:
Invalid command 'IncludeOptional', perhaps misspelled or defined by a module not included in the server configuration
Thanks given by:
#25
RE: [module] SSL_manager [linux]
(02-24-2015, 07:55 PM)twitah Wrote: Thank you Diablo925. My site successfully have https in a very simple way. But i still have one question left:

How to upload the other Intermediate CA certificate? Comodo support said, if i don't upload both then it will not complete the certificate chain.

Edit: problem solved by manually combine those certificate.

#Ron-e
[quote pid='7415' dateline='1424771706']
#Diablo925

hey, help please !!

I use, COMODO
but does not accept my certificate

I have  installed, [module] SSL_manager [linux]

I just installed the mod_[b]SSL_manager


who else should I do?


I have enabled port 80
I do not understand you need to do to 443[/b]


the same error

from the first time
[Image: jujtLbf.jpg]
Thanks given by:
#26
RE: [module] SSL_manager [linux]
(03-11-2015, 08:57 AM)artdenic Wrote: hey, help please !!

I use, COMODO
but does not accept my certificate

I have  installed, [module] SSL_manager [linux]

I just installed the mod_[b]SSL_manager


who else should I do?


I have enabled port 80
I do not understand you need to do to 443[/b]


the same error

from the first time

"A certificate with that name already exists" means you've already uploaded required certificate. Go click "show my certificate" button then you will see your uploaded certificate was there and available to download or delete.

After i've uploaded required certificate i did not made any modification in my server at all, because i can access https://mysite•com a few minutes after uploaded those certificate.
Thanks given by:
#27
RE: [module] SSL_manager [linux]
I get the same error as Mostafiz when installing via zppy on SSH.  In my case, I'm using Ubuntu 14.04 LTS though.


Code:
Notice: Undefined property: XMLTag::$type in /etc/sentora/panel/dryden/ui/module.class.php on line 82

Notice: Trying to get property of non-object in /etc/sentora/panel/dryden/ui/module.class.php on line 82

Module installed successfully!


In spite of the error, the module installs, is available in the panel and generates self-signed certificates.  However, they don't work.
Thanks given by:
#28
RE: [module] SSL_manager [linux]
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
Thanks given by:
#29
RE: [module] SSL_manager [linux]
(03-11-2015, 02:15 PM)twitah Wrote:
(03-11-2015, 08:57 AM)artdenic Wrote: hey, help please !!

I use, COMODO
but does not accept my certificate

I hav

"A certificate with that name already exists" means you've already uploaded required certificate. Go click "show my certificate" button then you will see your uploaded certificate was there and available to download or delete.

After i've uploaded required certificate i did not made any modification in my server at all, because i can access https://mysite•com a few minutes after uploaded
I've changed 40 min ago


Now no income, sentora panel :/

my site: http://www.artdenic.com/
Thanks given by:
#30
RE: [module] SSL_manager [linux]
[Image: xgDg5zG.jpg]

I had a breakthrough

but now do not know how to enable port 443
Thanks given by:


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

Forum Jump:


Users browsing this thread: 1 Guest(s)