HTTPS Only mode
Pages: 1 2
Steve Pampling (1551) 8172 posts |
As an extension of a recent topic about HTTPS (or not) the recent release of Firefox has a prominent feature – HTTPS Only mode Quote:
So there you have the first signs of a push to kill HTTP. I’m sure Rick will be saying “See, I told you so” etc. Which reminds me – Flash support, December 2020… |
Dave Higton (1515) 3534 posts |
? It’s a late stage of a movement that has been going for an embarrassingly long time (should have been completed long ago). That’s why I’ve been going on about server capability in AcornSSL. |
Steve Pampling (1551) 8172 posts |
I was putting it up as a real “in your face” stage of the movement toward totally HTTPS.
Didn’t someone recently do something along those lines with HTTPLib ? 1 I was about to say “Continue” isn’t always successful after testing with two “random” RO sites, but SVRSIG fails through OK, and Plingstore simply fails – even on IE, so I think PlingStore may have a problem again. (Confirmed by http://www.justdownforme.com/) |
Alan Adams (2486) 1149 posts |
So how does this affect Webjames? |
Dave Higton (1515) 3534 posts |
WebJames can’t do https unless something comes along to give server capability. That’s exactly why I’ve kept mentioning server capability for AcornSSL, as it seems to me to be the easiest way. |
Steve Pampling (1551) 8172 posts |
Interesting question. I think that Firefox 83.0 should react to the HTTPS fail by dropping to HTTP when you click “Continue”. Later releases will no doubt push toward no HTTP. |
Bryan (8467) 468 posts |
I am currently using Firefox 83 on Windows 7 with And I get the normal response to the page Of course, this is using a local address. Using a public address will require that I change this PC to use a different outgoing (mobile) router and also allow public access to the WebJames on my FTTC Internet. EDIT: post corrected on following day |
Bryan (8467) 468 posts |
OK I have done the changes and this time using HTTPS-Only Mode AlertSo, it it seems Firefox 83 only does the check on public addresses. (which could be useful, in my case) And, of course, changing outgoing Internet connections meant that I had togin here, again, to post this using the same browser on the same computer |
Chris Mahoney (1684) 2165 posts |
I’m afraid not. HTTPLib is a C wrapper around URL/AcornHTTP/AcornSSL that makes them easier to use, but there’s no server functionality in there. That reminds me… I still need to get around to releasing the latest version! |
Bryan (8467) 468 posts |
I should have read the complete Firefox page more completely. Tucked away at the very bottom of the page is an option to continue in HTTP mode for the current website only. I got distracted by the fact that it allowed local websites. |
Paolo Fabio Zaino (28) 1882 posts |
Correct, unless you put webJames behind a Web Proxy like NGINX, in which case NGINX can do the HTTPS for you and forward the request in HTTP to WebJames, take the response from webjames and push it back via HTTPS ;) If, someone is trying to use WebJames for public pages etc… I would strongly recommend to use NGINX in front of it and configure security measures on NGINX. |
Steve Pampling (1551) 8172 posts |
Yup, option button/icon with “Continue”. The local address stuff I will check shortly, on the VPN to work, as there’s a couple of web front ends that I think are still HTTP. |
David Feugey (2125) 2709 posts |
An interim solution could be to compile WebJames against some a SSL Library, as done earlier with POPStar. |
Steve Pampling (1551) 8172 posts |
Tested. Same behaviour – click to “Continue” – on 192.168.0.0/16 with /24 subnet blocks.
I suspect you may have done a “continue” and it remembers that for the rest of the session. |
Steve Pampling (1551) 8172 posts |
While the certificate for the specific host (or wildcarded to a domain tier) has a lifetime which might be short the chain of trust down through intermediate and root certificates has a longer life. That’s why the certificate updates for the current (ported) SSL module don’t have weekly updates.
Given the increased interest in being a pain in the nether that people on Russian IP’s are showing at present1 I would suggest that a decent firewall/reverse proxy as recommended by Paolo above would be a sensible move. 1 Apparently having had successes in hacking and trashing US medical facilities UK NHS facilities are enticing – or so our firewall logs say… |
Bryan (8467) 468 posts |
So, it seems Firefox 83 only does the check on public addresses.I suspect you may have done a “continue” and it remembers that for the rest of the session. Sorry. No, I don’t think that is the case for two reasons:- Maybe, it is the 10.×.y.z local address which is allowed Either way, it connects and the padlock has a red bar through it and says the connection is not secure. |
David Feugey (2125) 2709 posts |
WebJames will survive much longer than RISC OS :) Anyway, this is not for Internet, but to deploy webapps on Intranets. |
Steve Pampling (1551) 8172 posts |
That’s probably it. Their code probably assumes port 80 for HTTP |
Bryan (8467) 468 posts |
Nope. Thats not it. Just tried it again. It definately connects to Webjames on a 10.0.×.y local address on a range of ports including 80, 9000 and others. The Firefox HTTPS Only Mode check is not effective on 10.0.×.y addresses. Not tried other ‘local addresses’ as I don’t have any. I also checked using the clever NAT loopback facility on my DrayTek 2860 FTTC router. Firefox rejects the 82.×.y.z public Internet address even though the Internet address connection never actually leaves my local area network. |
Steve Pampling (1551) 8172 posts |
Sounds like a bug to me.
I’ve got devices in 192.168.0.0/16, 172.16-31.0.0 and if I go through the firewall to the exterior on 10.0.0.0 to play with (if I have time1 with all the catchup work) but I’m pretty sure none of the 10.0.0.0/8 are HTTP 1 Weird or what? Back in 2012 my then colleague departed and for 5-6 months there was only me. We get to 2020, I go off sick for 5 months and the team which was 4 strong(minus me=3) when I went off is 6 strong now. The wife always wanted to know how many people it would take to replace me and says it’s obviously more than two… |
Bryan (8467) 468 posts |
Maybe, my 255.255.0.0 Netmask is upsetting it. (although I am not complaining) I use 255.255.0.0 because I used to have VPNs to two other sites which used 10.1.0.0 and 10.2.0.0 |
Steve Pampling (1551) 8172 posts |
That’s what routers are for – linking between subnets. |
Bryan (8467) 468 posts |
I also use my FTTC DrayTek 2860 to do the following:- I also used to have a second ADSL service (on a DrayTec modem) and the 2860 would happily route incoming and outgoing data for that. |
Bryan (8467) 468 posts |
Why? As Rick said some time ago regarding any attempt to hack a WebJames server. “Good Luck with that” And then, why worry? If the RISC OS system only has the public web pages on it, then any hacker succeeding in hacking WebJames is going to be mightily disappointed when all that is found is the web pages which were visible anyway. |
Paolo Fabio Zaino (28) 1882 posts |
Why? here is why:
But anyway, as always just my 0.5c, if people want to put webjames exposed directly it’s their choice :) |
Pages: 1 2