Page 1 of 2

Redirect forums to https

Posted: Mon Nov 13, 2017 5:17 pm
by thricenightly
Navigating to spectrumcomputing.co.uk/forums/ takes you to the insecure http port. It doesn't redirect to the https port, so browsers complain about insecurities, etc.

You should get that fixed. :)

Re: Redirect forums to https

Posted: Mon Nov 13, 2017 7:59 pm
by Mike Davies
Another side-effect of the forum being accessed by http is that login quietly fails. In Vivaldi 1.12.955.48 at least. Just ran into that problem myself now. So switch to https if login looks like it's not working.

Re: Redirect forums to https

Posted: Mon Nov 13, 2017 8:11 pm
by administrator
OK, it should be working now. I have edited the settings in phpBB and added some code to the .htaccess file. You will probably need to delete cookies.

Re: Redirect forums to https

Posted: Mon Nov 13, 2017 8:25 pm
by R-Tape
I didn't have any problems all day, then in the last hour I started to get the certification error. Just cleared cookies and I can log in without the same warnings but it still says certificate error at the top of the screen. Weird.

Re: Redirect forums to https

Posted: Mon Nov 13, 2017 8:31 pm
by Ralf
I have this error too. You can force Firefox to ignore it but it's uncomfortable and may put many people away from entering the forums. It would be really urgent to correct it.

Re: Redirect forums to https

Posted: Mon Nov 13, 2017 8:39 pm
by PeterJ
Hi,

Its strange I'm testing it on multiple machines and browsers and not getting an error. Can you post a screenshot of the error?

Image

Thanks

Re: Redirect forums to https

Posted: Mon Nov 13, 2017 8:53 pm
by R-Tape
Image

Here we go. Microsoft Edge.

Re: Redirect forums to https

Posted: Mon Nov 13, 2017 8:57 pm
by Mike Davies
R-Tape wrote: Mon Nov 13, 2017 8:53 pm Image

Here we go. Microsoft Edge.
Is Microsoft Edge hiding the full domain name per-chance? (Maybe the domain in the URL bar is actually "www.spectrumcomputing.co.uk"). I noticed a few redirects earlier ending up on www. (After clicking a link in the Notifications dropdown in the top bar, and posting a response to a post, but both of those PeterJ seems to have fixed now).

Re: Redirect forums to https

Posted: Mon Nov 13, 2017 9:00 pm
by PeterJ
This is strange, I get know problems on Edge. If there are any security experts out there who can help please send me a PM.

Peter

Image

Re: Redirect forums to https

Posted: Mon Nov 13, 2017 9:04 pm
by R-Tape
Cleared all history again.

I type spectrumcomputing.co.uk, takes me here no problem:

https://spectrumcomputing.co.uk/

I click the forums button, takes me here no problem.

https://spectrumcomputing.co.uk/forums/

I click login, takes me here no problem:

ucp.php?mode=login

I type in my user/password, and it goes here:

ucp.php?mode=login

Firstly this ^doesn't work, just hangs as a blank page.

I click the back button, takes me here:

............

and that has the full page certificate thing.

Re: Redirect forums to https

Posted: Mon Nov 13, 2017 9:06 pm
by PeterJ
Thanks, I will need to research this.

Re: Redirect forums to https

Posted: Mon Nov 13, 2017 9:08 pm
by R-Tape
I have no idea if it's relevant, only that Mike mentioned it, but the last one is the only page with 'www', though the problem was the page before that.

Re: Redirect forums to https

Posted: Mon Nov 13, 2017 9:14 pm
by PeterJ
OK, I have made a another change (Thanks to Mike for the clue). I get an error with the first page of this topic, but nowhere else.

Re: Redirect forums to https

Posted: Mon Nov 13, 2017 9:15 pm
by Ralf
And now it's working okay. Did you change anything?

Re: Redirect forums to https

Posted: Mon Nov 13, 2017 9:18 pm
by R-Tape
Working for me too, no errors. Hopefully that's that, well done.

Re: Redirect forums to https

Posted: Mon Nov 13, 2017 9:31 pm
by PeterJ
Ralf wrote: Mon Nov 13, 2017 9:15 pm And now it's working okay. Did you change anything?
There was a random www in one of the security settings.
phpBB is not the easiest system to configure. Glad it's working. Over and out for tonight.

Re: Redirect forums to https

Posted: Mon Nov 13, 2017 11:22 pm
by Stefan
PeterJ wrote: Mon Nov 13, 2017 9:14 pm OK, I have made a another change (Thanks to Mike for the clue). I get an error with the first page of this topic, but nowhere else.
You're getting the error on the first page due to R-Tape's screen shot coming from elsewhere: http://stonechatproductions.co.uk/zxgam ... SCperm.gif

There should be a setting or module available for phpBB to support this.

Maybe see: https://area51.phpbb.com/phpBB/viewtopic.php?t=50956 and https://github.com/phpbb-extensions/camosslimageproxy

No idea if these are any good.

Re: Redirect forums to https

Posted: Tue Nov 14, 2017 9:13 am
by dfzx
Not quite there... :)

spectrumcomputing.co.uk correctly redirects to https://spectrumcomputing.co.uk/

www.spectrumcomputing.co.uk correctly redirects to https://spectrumcomputing.co.uk/

http://spectrumcomputing.co.uk/ correctly redirects to https://spectrumcomputing.co.uk/

http://www.spectrumcomputing.co.uk correctly redirects to https://spectrumcomputing.co.uk/

But!

https://www.spectrumcomputing.co.uk/ doesn't redirect. It complains about the certificate domain being wrong.

Re: Redirect forums to https

Posted: Wed Nov 15, 2017 11:17 pm
by tez
PeterJ wrote: Mon Nov 13, 2017 9:00 pm If there are any security experts out there who can help please send me a PM.
Long-time WoS lurker but registering here to offer some assistance :D

The SSL certificate presented here is only valid for 'spectrumcomputing.co.uk' but not 'www.spectrumcomputing.co.uk'.

You can see this here: https://www.ssllabs.com/ssltest/analyze ... Results=on

As you can see, the certificate does not list 'www.spectrumcomputing.co.uk' anywhere so any client who tries to access via 'www.spectrumcomputing.co.uk' will fail to validate the certificate.

The solution is to reconfigure your LetsEncrypt client to request a certificate containing both names; feel free to PM me if you need some help in doing this.

Re: Redirect forums to https

Posted: Thu Nov 16, 2017 12:17 pm
by HexTank
In firefix there's a warning about connection not being secure, "Parts of this page are not secure (such as images)"

Re: Redirect forums to https

Posted: Thu Nov 16, 2017 12:23 pm
by Mike Davies
HexTank wrote: Thu Nov 16, 2017 12:17 pm In firefix there's a warning about connection not being secure, "Parts of this page are not secure (such as images)"
Can you paste in the URL of the page you are seeing this warning on?
It's typically because one or more of the images, or embeds on the page isn't an https reference.

Re: Redirect forums to https

Posted: Thu Nov 16, 2017 12:34 pm
by 1024MAK
All pages do it. I think it is either the logo picture, or the associated link: http://spectrumcomputing.co.uk/

EDIT: it's the link, as loading the GIF image alone does not generate the warning.

Mark

Re: Redirect forums to https

Posted: Thu Nov 16, 2017 12:49 pm
by HexTank
Yes, as Mark said, it happens everywhere, even this thread :)

viewtopic.php?f=29&t=37&p=580#p580 for reference.

Re: Redirect forums to https

Posted: Thu Nov 16, 2017 12:56 pm
by PeterJ
Hello. It's pages where users have inserted images hosted elsewhere. This page of this thread is currently fine.

I'm aware of the issue, and need to find a time to look at fixes, but for now it is as it is. Sorry.

Someone posted some possible solutions earlier in the week that I will look at.

Peter

Re: Redirect forums to https

Posted: Thu Nov 16, 2017 1:01 pm
by 1024MAK
I did my investigations on the FAQ page...
No user images or links there as far as I could see...

Mark