Sentora Support Forums
Problem with SSL!! - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: Problem with SSL!! (/showthread.php?tid=3830)

Pages: 1 2


Problem with SSL!! - fausturien - 06-20-2017

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.


RE: Problem with SSL!! - TGates - 06-20-2017

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.


RE: Problem with SSL!! - fausturien - 06-20-2017

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


RE: Problem with SSL!! - TGates - 06-20-2017

(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.


RE: Problem with SSL!! - fausturien - 06-20-2017

(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]


RE: Problem with SSL!! - MrKaKisen - 06-20-2017

(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.


RE: Problem with SSL!! - fausturien - 06-20-2017

Hi,
My php version is PHP 5.4.45. Which one should I upgrade?


RE: Problem with SSL!! - MrKaKisen - 06-20-2017

(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?


RE: Problem with SSL!! - fausturien - 06-20-2017

(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.


RE: Problem with SSL!! - MrKaKisen - 06-20-2017

(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.