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.

Problem with SSL!!
#1
Problem with SSL!!
Hi,
After installing SSL, I have this problem:

Your browser sent a request that this server could not understand. Reason: You're speaking plain HTTP to an SSL-enabled server port. Instead use the HTTPS scheme to access this URL, please.

Is there a way, to go back to the way it was at the beginning, deactivating SSL?. When I try to disable SSL with the sudo a2dismod command, the page does not load.
Reply
Thanks given by:
#2
RE: Problem with SSL!!
The problem is that you do not have a port forward for the domain. You need to have a vhost entry for the non-SSL version also (on port 80).
You did not mention which tutorial you used to setup your SSL, but that is the reason.
You can fix this (depending on which tutorial for SSL you used) by doing the following:
  1. Go to: Admin > Module Admin > Apache Config > Override a VirtualHost setting > [select domain]
  2. Port Override: 443
  3. Forward Port 80 to Overriden Port: (checked)
  4. Save and wait for the daemon to run.

(06-20-2017, 03:57 AM)fausturien Wrote: Is there a way, to go back to the way it was at the beginning, deactivating SSL?. When I try to disable SSL with the sudo a2dismod command, the page does not load.

Disabling SSL will NOT solve your problem! You need to REVERSE any configuration changes you made.
-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:
#3
RE: Problem with SSL!!
Hi,
The problem is that I can not access the panel.
I did not back up, and now I'm afraid of losing data.

Sad
Reply
Thanks given by:
#4
RE: Problem with SSL!!
(06-20-2017, 04:09 AM)fausturien Wrote: Hi,
The problem is that I can not access the panel.
I did not back up, and now I'm afraid of losing data.

Sad

Ok, then try on the command line as root user:

Code:
setso --set sentora_port 80
setso --set apache_changed true
Wait about 5 minutes for the daemon to run, then try and log in again.
-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:
#5
RE: Problem with SSL!!
(06-20-2017, 04:15 AM)TGates Wrote: Ok, then try on the command line as root user:

Code:
setso --set sentora_port 80
setso --set apache_changed true
Wait about 5 minutes for the daemon to run, then try and log in again.

Hi,

Thank you very much for the help. But it still gives me error. I attach an image.

[Image: problemssl.jpg]
Reply
Thanks given by:
#6
RE: Problem with SSL!!
(06-20-2017, 04:23 AM)fausturien Wrote: Hi,

Thank you very much for the help. But it still gives me error. I attach an image.

[Image: problemssl.jpg]

I'm not an expert when it comes to Sentora - but it seems like you're missing suhosin. Have you tried upgrading PHP? Maybe try installing suhosin - not too sure though.
MrKaKisen - Website - GitHub
Reply
Thanks given by:
#7
RE: Problem with SSL!!
Hi,
My php version is PHP 5.4.45. Which one should I upgrade?
Reply
Thanks given by:
#8
RE: Problem with SSL!!
(06-20-2017, 04:38 AM)fausturien Wrote: Hi,
My php version is PHP 5.4.45. Which one should I upgrade?

No, you shouldn't upgrade PHP (upgrading to PHP 7 though won't work as it doesn't have Suhosin).

What OS are you running? Ubuntu?
MrKaKisen - Website - GitHub
Reply
Thanks given by:
#9
RE: Problem with SSL!!
(06-20-2017, 04:42 AM)MrKaKisen Wrote: No, you shouldn't upgrade PHP (upgrading to PHP 7 though won't work as it doesn't have Suhosin).

What OS are you running? Ubuntu?

Hi,
Ubuntu 12.04.5 LTS.
Reply
Thanks given by:
#10
RE: Problem with SSL!!
(06-20-2017, 04:43 AM)fausturien Wrote: Hi,
Ubuntu 12.04.5 LTS.

Oh, that's an old version of Ubuntu.

I'm not too sure if you should install suhosin or not. Wait and see what TGates has to say Smile.
MrKaKisen - Website - GitHub
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Problem with roundcube pgh2011 0 2 ,273 01-30-2021, 12:48 AM
Last Post: pgh2011
Import zpanel settings problem pgh2011 0 2 ,276 12-30-2020, 07:08 PM
Last Post: pgh2011
Senator crash problem with mysql provokas 3 9 ,679 08-20-2020, 04:11 AM
Last Post: Your Creator

Forum Jump:


Users browsing this thread: 1 Guest(s)