The Cellar

The Cellar (http://cellar.org/index.php)
-   Cellar Meta (http://cellar.org/forumdisplay.php?f=3)
-   -   Converting to https (http://cellar.org/showthread.php?t=32417)

Undertoad 12-27-2016 05:39 PM

Converting to https
 
The Cellar is converting to https so that everything will be more secure.

There was a bit of oddness in the last hour or two as I set things up.

Please let me know of any oddities you might still notice, things not working and whatnot... thankee!

xoxoxoBruce 12-27-2016 05:51 PM

No smilies and can't attach a picture to a post.

Undertoad 12-27-2016 06:00 PM

Working on it....

Also we are kinda converting away from www.cellar.org to just cellar.org.

sexobon 12-27-2016 06:02 PM

On the toolbar below the tagline, clicking the Community link doesn't give a drop down menu for Social Groups and Members List. It instead refreshes the page adding those links to the toolbar which expands it out of the Cellar Index framework.

Undertoad 12-27-2016 06:26 PM

1 Attachment(s)
I believe smilies, the drop-down menu, and attachments are fixed.

If a picture of Eagles CB Jalen Mills is attached

lumberjim 12-27-2016 06:29 PM

Does he have green hair?

monster 12-27-2016 06:54 PM

Quote:

Originally Posted by xoxoxoBruce (Post 977585)
No smilies and can't attach a picture to a post.

this (smilies)

monster 12-27-2016 06:56 PM

still not working for me ...if I click on more smilies it does nothing. Or hangs.

monster 12-27-2016 06:57 PM

:) let's see if a regular one works :eek:

Undertoad 12-27-2016 07:13 PM

It may take a browser refresh (or even a close and re-open) to tell the browser the new settings are in?

monster 12-27-2016 07:57 PM

done that a bazillion time because I use exploder and it sucks. And at least one restart. I'm sure it's just me. thanks

monster 12-27-2016 07:58 PM

probably some pop-up blocker shite got reset or something

Undertoad 12-27-2016 08:04 PM

That is very possible due to the address change - you may have to create a new exception for the https version of the site, or the non-www version of the site if you're directed there.

BigV 12-27-2016 09:06 PM

Is that Baby Carrot Top up there?

monster 12-27-2016 09:19 PM

so... it still shows http://. I closed and went through a google search to try and bypass favorites... should the address be https now?

Undertoad 12-27-2016 10:09 PM

No well it's not enforced yet, but will be soon cos it's not truly secure until then. Still working out the first set of issues.

xoxoxoBruce 12-27-2016 11:07 PM

Everything seems to be working for me, and considerably faster too. :thumb:

glatt 12-28-2016 07:41 AM

1 Attachment(s)
:)

:eek:

this is kelp
Attachment 58947

glatt 12-28-2016 07:42 AM

Works for me in firefox

limey 12-28-2016 08:26 AM

1 Attachment(s)
:dunce: Works OK for me in Forefox, too ...

Undertoad 12-28-2016 02:43 PM

There are still a few lingering items going on... working on it.

Ugh, I did not expect this to be such a problem...

Undertoad 12-28-2016 02:49 PM

Yeah. The actual issue is that the site was built depending on Yahoo! code, loaded from Yahoo!, that is delivered INSECURELY and so all Javascript is broken in the https version of our site.

Working on it...

glatt 12-28-2016 03:01 PM

Thanks for your work!

Undertoad 12-28-2016 03:10 PM

My pleasure sir!

And just like that, a little research says you can obtain the same Javascirpt libraries from Google instead of Yahoo!. We are now getting those from Google over SSL, which means they are secure too.

(But a little... slower? Hmmm is it just me?)

This appears to have been one of the final steps in getting the "lock" symbol to show up when you browse the site with https. Which is a goal of all this.

In another day or two, if everything works, I'll figure out how to redirect all http requests to https.

Undertoad 12-28-2016 03:18 PM

The lock symbol is broken right now on any page where requests are made for attachments, or images with http instead of https. So if an https page includes a call for http... it's not secure. Makes sense.

I just add this running commentary in case this is interesting for folks

glatt 12-28-2016 03:21 PM

So I posted two smilies this morning from my laptop using Firefox and they worked. But now on tapatalk, I only see one of them worked.

Gravdigr 12-28-2016 03:25 PM

Quote:

Originally Posted by Undertoad (Post 977693)
I just add this running commentary in case this is interesting for folks

It is very interesting. And thank you, Toad, for the effort that goes into Teh Cellar.:notworthy

Flint 12-28-2016 03:57 PM

Yes, it is interesting.
Thank you for the work and the commentary.

ETA: I'm getting the green hair thing, too.

Undertoad 12-28-2016 04:02 PM

It's pretty easy to see what's causing security problems on a page, using Chrome.

You hit F12 and the Developers Console comes up. If you use Chrome and accidentally have hit F12, you have seen this thing. If you've ever developed in CSS or Javascript, you already know.

The Security tab tells you exactly why the page is considered non-secure.

~

Changing ALL hotlinked images is going to be a drag, or at least, a dangerous thing. I'm not sure it can even be done. There's no global search and replace in the forum software. Each one of those images is linked with an insecure permanent BBCODE bit of text. The change has to happen at database level and it has the potential to break things.

xoxoxoBruce 12-28-2016 04:08 PM

Quote:

Originally Posted by glatt (Post 977695)
So I posted two smilies this morning from my laptop using Firefox and they worked. But now on tapatalk, I only see one of them worked.

They are both there, you just can't see them on tapatalk.

glatt 12-28-2016 04:10 PM

I know nothing about this stuff, so maybe this is a dumb question. But I don't think it's critical that old hotlinked images be displayed. Can you just break the image link and leave the text link there, pointing to the picture?

footfootfoot 12-28-2016 04:11 PM

Well, that'll serve us for hotlinking.

And while "converting to https," invites the response, "Yeah, you know me." it doesn't really want it to come to the party because of the superfluous s at the end. So, no.

xoxoxoBruce 12-28-2016 04:13 PM

Or download the image, break the link and put the image back in the post, but only UT and the mods can do that.

glatt 12-28-2016 04:14 PM

Yeah, I'm not fixing thousands of hot linked images.

footfootfoot 12-28-2016 04:26 PM

Quote:

Originally Posted by glatt (Post 977716)
Yeah, I'm not fixing thousands of hot linked images.

Slacker

Undertoad 12-28-2016 04:54 PM

And it may not matter all that much either.

Google is downgrading pages not served up with https, and soon they will be sending warnings about any page that appears to be collecting password or credit card data over a page without https.

Do they downgrade if the page is secure, but contains insecure sections? I don't know.

It's an issue because, if you're not logged in, every Cellar page has a login box at the top.

The register page is entirely secure...

Undertoad 12-28-2016 05:21 PM

We are currently enforcing https, which means if people are browsing with http they will get rudely re-directed to the https version.

Let's see if any issues are reported in the next hour or so

sexobon 12-28-2016 05:24 PM

One probably has to look outside of database fixes as some folks did with phpBB by creating an extension that runs hyperlinked http requests through an SSL image proxy server which rewrites them to https to appear as secure for viewing. I don't know if anything like this has ever been developed for vBulletin; but, it might be worth looking around for. If you find something, it might be worth bringing back the tip mug to pay for it. I suppose you could do a poll.

Quote:

... Background Information:
If a phpBB board is served from a https:// server, it will generally behave well as a secure site, but any image links posted by users as http://... will appear to browsers to be insecure content, in some browsers promoting a security warning dialogue, and in other browsers resulting in the image becoming inaccessible.

A direct solution of converting the image links in the phpBB database is generally impractical, so an accepted solution is to use a SSL proxy to make the images appear to be secure. Camo is an example of such a proxy.

With this extension installed, when a phpBB page is being loaded by a user, links to http://... images are rewritten so that they become https:// links to the camo proxy server, with the original link address encoded into the new link. The user's browser then requests the image from the camo proxy which accesses the original location and re-serves it on-the-fly using the https:// protocol. ...

Undertoad 12-28-2016 05:31 PM

The long run plan is to get away from vBulletin though, cos vBulletin has lost its mojo. But it may be possible to proxy these requests anyway... looking into it...

Flint 12-28-2016 05:35 PM

Quote:

Originally Posted by sexobon (Post 977735)
One probably has to look outside of database fixes as some folks did with phpBB by creating an extension that runs hyperlinked http requests through an SSL image proxy server which rewrites them to https to appear as secure for viewing. I don't know if anything like this has ever been developed for vBulletin; but, it might be worth looking around for. If you find something, it might be worth bringing back the tip mug to pay for it. I suppose you could do a poll.

That sounds like the ungrounded electrical socket adapters, that let you plug three-pronged plugs into two-pronged outlets. You can plug the thing in, but it isn't really grounded. It just bypasses the security feature. If I understand correctly, this is what you mean by "appear as" secure.

Conversely, I'm not a big fan of data rot, so there's that...

Undertoad 12-28-2016 05:40 PM

It is interesting to notice how many sites on the net have this issue... and how many won't even serve up https versions. https://cnn.com serves up a ton of http:

This may give us some Google mojo.

sexobon 12-28-2016 05:40 PM

@ Flint,

Yes, unfortunately, it only preserves viewing ability.

xoxoxoBruce 12-28-2016 06:01 PM

1 Attachment(s)
Clicking on the link in post 41.
.

fargon 12-28-2016 07:54 PM

I'm getting the privacy message. I'll come back tomorrow when the people that know what they are doing get done.

BigV 12-29-2016 12:08 AM

Quote:

Originally Posted by Undertoad (Post 977708)
snip--

Changing ALL hotlinked images is going to be a drag, or at least, a dangerous thing. I'm not sure it can even be done. There's no global search and replace in the forum software. Each one of those images is linked with an insecure permanent BBCODE bit of text. The change has to happen at database level and it has the potential to break things.

when you say BBCODE bit of *text*, do you really mean it's a text string that you can find and edit? Albeit, metric monkeytons of them, sure.

I ask, because I have an editor that can handle very, very large files. I've only bothered to try it on text files, not... other files. And I don't know what kind of files you're dealing with wrt the places where the offending "BBCODE bit of text" is.

The editor is at work and my brain is offline. If you're interested, indicate that and I'll dig up the editor / link info for you. The tool all by itself is impressive.

Undertoad 12-29-2016 08:51 AM

All this stuff is in a database and easily editable, the question is whether increasing the size of the text field that contains each post will break the system. The developers have, as usual, done their best to make it difficult. I'm inclined to let it go, seeing how many top sites have the issue.

footfootfoot 12-29-2016 10:27 AM

http://www.cellar.org/showthread.php?t=32417

This is what I have as a URL, although the http part is not visible.

I didn't log out when I closed my browser.

Undertoad 12-29-2016 10:35 AM

I turned off enforcing... turning it back on now so the http will redirect automatically to https

The web spiders are a little confused right now... all still trying the old addresses, let's see how they do with this

glatt 12-29-2016 10:48 AM

tapatalk is confused right now, but I can get here on my laptop.

Undertoad 12-29-2016 10:56 AM

That's no good, we need tapatalk... they offer a way to specify that the forum uses https, but that feature is down now! Redirection cancelled...

Undertoad 12-29-2016 11:02 AM

3 minutes later and not editing my post... the feature works now and Tapatalk has been updated to understand we are https. Redirection back on. It may take a cycle for Tapatalk to pick this up for everyone. It certainly hasn't figured it out yet on my device...

infinite monkey 12-29-2016 11:16 AM

On my phone, which I can't show you because it's on my phone and this is not my phone and I tried to send a picture of it to my email to add here but I can't do that either so I'll describe it:

address box has a red triangle with an exclamation point in it, then https://cellar org only the https is in red and has cross-outs superimposed.

Then in the page space the triangle,
"Your connection is not private"

"Attackers might be trying to steal...blah blah blah"

"NET::ERR_CERT_AUTHORITY_INVALID"

I don't use Tapatalk. Don't particularly want to.

If this has been addressed I couldn't find it in the small amount of time I had to look for it.

Thanks!

Undertoad 12-29-2016 11:30 AM

That might have happened cos it picked up an old cert that I was using for a while to test it yesterday... but after I installed a proper cert the authority should now be valid.

In cases like these, if you know it's the Cellar, you can hit "Advanced" and the "proceed anyway". Only if you know it's the Cellar.

limey 12-29-2016 12:38 PM

I'm on my PC and not being forced anywhere https wise. It's the same, familiar, comfy pair of slippers ...

glatt 12-29-2016 12:41 PM

tapatalk is working now and my pc sees https, looks like it's all working for me now.

Undertoad 12-29-2016 01:07 PM

Tapatalk for me is still vexed if redirection is on.

Ugh so I've had it turned off and let's wait a day for it to pick up that change

footfootfoot 12-29-2016 10:16 PM

I have a headache in my eye.

infinite monkey 12-30-2016 12:58 AM

I have an eye in my headache.

infinite monkey 12-30-2016 12:59 AM

Btw, working fine now. Good work. :)

captainhook455 12-30-2016 10:23 AM

Well I don't care for it. I can't get one picture anywhere. They all show 0 then broke ticket. This sucks. I will come back in a few see how things are. I hate "new and improved"..

tarheel


All times are GMT -5. The time now is 04:24 AM.

Powered by: vBulletin Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.