Posts: 7
Threads: 1
Joined: Mar 2016
Reputation:
0
Sex: Male
Thanks: 0
Given 0 thank(s) in 0 post(s)
Problem with SSL!!
06-20-2017, 03:57 AM
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.
Posts: 3 ,663
Threads: 241
Joined: May 2014
Reputation:
85
Sex: Male
Thanks: 408
Given 599 thank(s) in 464 post(s)
RE: Problem with SSL!!
06-20-2017, 04:06 AM
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:
- Go to: Admin > Module Admin > Apache Config > Override a VirtualHost setting > [select domain]
- Port Override: 443
- Forward Port 80 to Overriden Port: (checked)
- 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
Posts: 7
Threads: 1
Joined: Mar 2016
Reputation:
0
Sex: Male
Thanks: 0
Given 0 thank(s) in 0 post(s)
RE: Problem with SSL!!
06-20-2017, 04:09 AM
Hi,
The problem is that I can not access the panel.
I did not back up, and now I'm afraid of losing data.
Posts: 3 ,663
Threads: 241
Joined: May 2014
Reputation:
85
Sex: Male
Thanks: 408
Given 599 thank(s) in 464 post(s)
RE: Problem with SSL!!
06-20-2017, 04:15 AM
(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.
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
Posts: 7
Threads: 1
Joined: Mar 2016
Reputation:
0
Sex: Male
Thanks: 0
Given 0 thank(s) in 0 post(s)
RE: Problem with SSL!!
06-20-2017, 04:23 AM
(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.
Posts: 40
Threads: 6
Joined: Apr 2016
Reputation:
0
Sex: Undisclosed
Thanks: 7
Given 1 thank(s) in 1 post(s)
RE: Problem with SSL!!
06-20-2017, 04:29 AM
(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.
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.
Posts: 7
Threads: 1
Joined: Mar 2016
Reputation:
0
Sex: Male
Thanks: 0
Given 0 thank(s) in 0 post(s)
RE: Problem with SSL!!
06-20-2017, 04:38 AM
(This post was last modified: 06-20-2017, 04:38 AM by fausturien.)
Hi,
My php version is PHP 5.4.45. Which one should I upgrade?
Posts: 40
Threads: 6
Joined: Apr 2016
Reputation:
0
Sex: Undisclosed
Thanks: 7
Given 1 thank(s) in 1 post(s)
RE: Problem with SSL!!
06-20-2017, 04:42 AM
(This post was last modified: 06-20-2017, 04:42 AM by MrKaKisen.)
(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?
Posts: 7
Threads: 1
Joined: Mar 2016
Reputation:
0
Sex: Male
Thanks: 0
Given 0 thank(s) in 0 post(s)
RE: Problem with SSL!!
06-20-2017, 04:43 AM
(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.
Posts: 40
Threads: 6
Joined: Apr 2016
Reputation:
0
Sex: Undisclosed
Thanks: 7
Given 1 thank(s) in 1 post(s)
RE: Problem with SSL!!
06-20-2017, 04:54 AM
(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 .
|