vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Who is moving to https? (https://vborg.vbsupport.ru/showthread.php?t=323946)

Dave 12-19-2016 06:43 PM

I think I'm going to make a guide soon on how to move to HTTPS on a fresh vBulletin installation. (latest vB4 version) I'll see what errors I encounter and maybe that will help you and other people in the future.

RichieBoy67 12-19-2016 07:19 PM

Quote:

Originally Posted by CAG CheechDogg (Post 2579607)
I don't have those changes at all and I don't get mixed content warnings in the admincp and it always displays the greed padlock ....just saying ...

Quote:

Originally Posted by Ashlar217 (Post 2579612)
Same here... I also use an image importer to fix mixed content warnings in the forums/CMS/Blog etc.. So far I am keeping everything secure with no mixed content warnings by doing nothing other than installing the SSL and adding the image importer.

Quote:

Originally Posted by Dave (Post 2579636)
I think I'm going to make a guide soon on how to move to HTTPS on a fresh vBulletin installation. (latest vB4 version) I'll see what errors I encounter and maybe that will help you and other people in the future.

Dave, how about a guide for an old installation using cloudflare and customized heavily? :)

I have actually converted a few sites in the past without a hitch, no modifications needed. The issue here could be related to my cloudflare cert seeing as the way it is done through cloudflare at least with the package I have is to have the ssl cert actually hosted at cloudflare.. This could be the issue even though I cannot understand why it works every where else. I cannot find anything url wise that needs to be changed in the database or the templates.

The fact that I see a non ssl url inside the admincp though is a dead giveaway that something is wrong. I am talking about the links used when you save a setting edit or a plug in change. You get that page that says processing.. Mine shows a non https:// url. I get past that page now though and then get solid white. Clicking those links does nothing.

Dave 12-19-2016 07:54 PM

Quote:

Originally Posted by RichieBoy67 (Post 2579637)
Dave, how about a guide for an old installation using cloudflare and customized heavily? :)

I have actually converted a few sites in the past without a hitch, no modifications needed. The issue here could be related to my cloudflare cert seeing as the way it is done through cloudflare at least with the package I have is to have the ssl cert actually hosted at cloudflare.. This could be the issue even though I cannot understand why it works every where else. I cannot find anything url wise that needs to be changed in the database or the templates.

The fact that I see a non ssl url inside the admincp though is a dead giveaway that something is wrong. I am talking about the links used when you save a setting edit or a plug in change. You get that page that says processing.. Mine shows a non https:// url. I get past that page now though and then get solid white. Clicking those links does nothing.

I also run Cloudflare with HTTPS (Cloudflare SSL only) enabled on my forum (about 900k posts) and I don't really have any problems. I only had one problem in the past and that was the HTTP error in the AdminCP which I fixed by modifying one of the PHP files.

In Omnibus 12-19-2016 08:34 PM

Quote:

Originally Posted by Dave (Post 2579636)
I think I'm going to make a guide soon on how to move to HTTPS on a fresh vBulletin installation. (latest vB4 version) I'll see what errors I encounter and maybe that will help you and other people in the future.

That would be helpful to a large number of people who never saw the need for https up 'til now. Honestly, if you're not collecting personal data there is no need for encryption but Google is gonna Google.

Mark.B 12-19-2016 09:28 PM

This covers most scenarios:
https://www.vbulletin.com/forum/arti...forum-to-https

--------------- Added [DATE]1482190258[/DATE] at [TIME]1482190258[/TIME] ---------------

Quote:

Originally Posted by CAG CheechDogg (Post 2579607)
I don't have those changes at all and I don't get mixed content warnings in the admincp and it always displays the greed padlock ....just saying ...

If you're not having mixed content issues in the admincp then there is no need to make the change, as my post says. :)

RichieBoy67 12-19-2016 10:54 PM

Quote:

Originally Posted by Dave (Post 2579640)
I also run Cloudflare with HTTPS (Cloudflare SSL only) enabled on my forum (about 900k posts) and I don't really have any problems. I only had one problem in the past and that was the HTTP error in the AdminCP which I fixed by modifying one of the PHP files.

I wish I knew what the variable is that has your site working and not mine even with the changes. What version of Vbulletin do you have and what version of Cloudflare?

Thanks

--------------- Added [DATE]1482195432[/DATE] at [TIME]1482195432[/TIME] ---------------

Quote:

Originally Posted by Mark.B (Post 2579596)
Those getting mixed content warnings in the admincp, please make the file changes here:
http://www.vbulletin.com/forum/node/4355527

These changes will work for either vB3 or vB4 (not needed in vB5).
They are applied by default in 3.8.11 and 4.2.5.

Thanks Mark! I am not sure why this is not working on my site. It could just be that I have to clear the Cloudflare cache but I will just wait a bit longer until it updates.. Maybe this will do the trick.

Dragonsys 12-19-2016 11:25 PM

now that my host has enabled Let's Encrypt on my server, I need to look into getting SSL working. I have not fully followed/read through this thread, but is there a basic how-to on this subject?

I will browse this thread and gather what I can though.

RichieBoy67 12-19-2016 11:26 PM

Quote:

Originally Posted by Dragonsys (Post 2579658)
now that my host has enabled Let's Encrypt on my server, I need to look into getting SSL working. I have not fully followed/read through this thread, but is there a basic how-to on this subject?

I will browse this thread and gather what I can though.

Mark posted a good How to right here:

https://vborg.vbsupport.ru/showpost....3&postcount=45

Paul M 12-20-2016 01:34 AM

I would be interested to know of any specific code changes (for 4.2.5 / 3.8.11).

Some have already been applied in Beta 1, and I have updated a few more hard coded http links in Beta 2 to be either https, or protocol relative.

Dragonsys 12-20-2016 02:53 AM

Quote:

Originally Posted by RichieBoy67 (Post 2579659)
Mark posted a good How Too right here:

https://vborg.vbsupport.ru/showpost....3&postcount=45

awesome, thanks!

Civictr 12-20-2016 09:50 AM

Quote:

Originally Posted by RichieBoy67 (Post 2578901)
Anyone making the jump? Google chrome is starting to become an issue for sites not using an ssl as is Apple. I found out a couple days ago my IOS app will not be working as of January 1 unless I use https..

Does anyone have any strategy or plans for switching?

@RichieBoy67
Hello,
I want to install SSL to my page also, i think your SSL is working good. Did you change, install or edit somewhere in your page for don't face any problem because we didn't install SSL we faced too many problems.

Thanks.

Domenico 12-21-2016 08:32 PM

Yes, moving to HTTPS as we speak. I still have some plugins to fix but I think that next week all will be solved and I can upload the new apps to Google and Apple.

To all, just move to https completely.

Mark.B 12-22-2016 11:50 AM

Quote:

Originally Posted by Civictr (Post 2579670)
@RichieBoy67
Hello,
I want to install SSL to my page also, i think your SSL is working good. Did you change, install or edit somewhere in your page for don't face any problem because we didn't install SSL we faced too many problems.

Thanks.

There is guide posted above which covers everything.

Stratis 12-24-2016 01:58 PM

Does any one has opinion which is better to use?
Trustwave EasyTrust SSL
or
Comodo Essential SSL

Thanks

Dave 12-24-2016 02:32 PM

Quote:

Originally Posted by Stratis (Post 2579835)
Does any one has opinion which is better to use?
Trustwave EasyTrust SSL
or
Comodo Essential SSL


Thanks

No difference at all.
You can save yourself some money and get a free SSL certificate using https://letsencrypt.org/.

Stratis 12-24-2016 03:26 PM

Thanks Dave for the answer. Actually I tried the free "Let's Encrypt" from my plesk but nothing change. I will try it again.

tuRiver 12-29-2016 07:56 PM

Quote:

Originally Posted by Paul M (Post 2579663)
I would be interested to know of any specific code changes (for 4.2.5 / 3.8.11).

Some have already been applied in Beta 1, and I have updated a few more hard coded http links in Beta 2 to be either https, or protocol relative.

Hi, im on (vBulletin 4.2.3 Patch Level 2), where are that versions?

tuRiver 12-30-2016 08:01 PM

Quote:

Originally Posted by Paul M (Post 2579663)
I would be interested to know of any specific code changes (for 4.2.5 / 3.8.11).

Some have already been applied in Beta 1, and I have updated a few more hard coded http links in Beta 2 to be either https, or protocol relative.

Im using 4.2.5 without any problems at this moment

https://www.turiver.com/foros/

Paul M 12-30-2016 08:10 PM

There is also an option in Beta 2 to force the detected scheme to http or https.

Quote:

Originally Posted by tuRiver (Post 2580036)
Hi, im on (vBulletin 4.2.3 Patch Level 2), where are that versions?

I dont understand your question :confused:

tuRiver 01-02-2017 02:55 PM

Quote:

Originally Posted by Paul M (Post 2580084)
There is also an option in Beta 2 to force the detected scheme to http or https.


I dont understand your question :confused:

I didnt notice that on members.vb there were beta versions. Sorry.

RichieBoy67 01-02-2017 04:40 PM

I am using beta and still having issues with the admincp..everything else is fine though..

Mark.B 01-02-2017 05:41 PM

Quote:

Originally Posted by RichieBoy67 (Post 2580198)
I am using beta and still having issues with the admincp..everything else is fine though..

Mke sure the edits here are in place:
http://www.vbulletin.com/forum/node/4355527

kylek 01-03-2017 12:35 AM

Need some expert help please!

This is what our old .htacess redirects looked like:

Code:

RewriteEngine on
RewriteCond %{HTTP_HOST} !^yoursitename\.com$
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(.*)$ http://yoursitename.com/$1 [L,R=301]

What would be needed for redirect to https?

Thanks!

Domenico 01-03-2017 12:10 PM

Quote:

Originally Posted by kylek (Post 2580218)
Need some expert help please!

This is what our old .htacess redirects looked like:

Code:

RewriteEngine on
RewriteCond %{HTTP_HOST} !^yoursitename\.com$
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(.*)$ http://yoursitename.com/$1 [L,R=301]

What would be needed for redirect to https?

Thanks!

It so depends. Did you try changing RewriteRule ^(.*)$ http://yoursitename.com/$1 [L,R=301] to RewriteRule ^(.*)$ https://yoursitename.com/$1 [L,R=301] ?

I have
Code:

RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTP_HOST} ^www\.webhostingtalk\.nl$ [NC]
RewriteRule .? https://www.webhostingtalk.nl%{REQUEST_URI} [L,R=301]

And that works. :)

The forum is 100% https now. It wasn't that hard I must say. Some scripting that needed to be changed and also some hardcoded http// but that was it.

Next step, HTTP/2 but Varnish 4.x doesn't do that.

RichieBoy67 01-03-2017 01:34 PM

I figured out the issue!

The issue was Rocket Loader..

One of the things you need to do if you are switching to ssl with cloudflare is to just disable rocket loader and then re-enable. Otherwise it will use your old urls for jquery like:http://ajax.googleapis.com/ajax/libs.../jquery.min.js

This must use a separate cache..

Paul M 01-03-2017 05:37 PM

I wish I got a pound for every issue cloudflare causes, i'd probably be able to retire by now.

RichieBoy67 01-03-2017 05:51 PM

Quote:

Originally Posted by Paul M (Post 2580252)
I wish I got a pound for every issue cloudflare causes, i'd probably be able to retire by now.

I agree Paul. It can be a hassle but I believe the benefits for me at least out weight the negative aspects. It has been challenging and a learning process.

In Omnibus 01-03-2017 06:46 PM

Quote:

Originally Posted by Paul M (Post 2580252)
I wish I got a pound for every issue cloudflare causes, i'd probably be able to retire by now.

That being the case, why do so many insist upon using it? :confused:

RichieBoy67 01-03-2017 06:54 PM

Quote:

Originally Posted by In Omnibus (Post 2580258)
That being the case, why do so many insist upon using it? :confused:

For one it allows me to use external dns and having a very image heavy site it literally shaves seconds off page load time. The last reason I use it is for security reasons. I cannot count the amount of times this has saved me issues from ddos attacks and even many probes are dealt with by cloudflare before they even get to my server.

Yes it has been a pita but I am pretty happy with it overall when I have it functioning correctly.

tuRiver 01-03-2017 07:19 PM

Quote:

Originally Posted by Paul M (Post 2580252)
I wish I got a pound for every issue cloudflare causes, i'd probably be able to retire by now.

Is it possible that on latest beta there its a problem with special characters while logged out?

Paul M 01-04-2017 12:10 AM

Quote:

Originally Posted by In Omnibus (Post 2580258)
That being the case, why do so many insist upon using it? :confused:

I have no idea, I would not go near it - I guess they are good at marketing what is basically a supersized proxy service.

Quote:

Originally Posted by tuRiver (Post 2580272)
Is it possible that on latest beta there its a problem with special characters while logged out?

Huh ?

RichieBoy67 01-04-2017 12:40 PM

Quote:

Originally Posted by Paul M (Post 2580288)
I have no idea, I would not go near it - I guess they are good at marketing what is basically a supersized proxy service.
Huh ?

I do not want to get too far off topic here but Cloudflare is much, much more than a proxy service.


Regarding ssl, I have installed letsencrypt onto my server and it worked well for most of my other sites. Great feature!

The only issue I have now is that the images I have imported over the years using the image import plug in are using http:// so those posts are still showing as mixed content.. Same with some of the previous images uploaded via tapatalk.

Everything else is perfect though now.

In Omnibus 01-04-2017 12:50 PM

Quote:

Originally Posted by RichieBoy67 (Post 2580306)
I do not want to get too far off topic here but Cloudflare is much, much more than a proxy service.


Regarding ssl, I have installed letsencrypt onto my server and it worked well for most of my other sites. Great feature!

The only issue I have now is that the images I have imported over the years using the image import plug in are using http:// so those posts are still showing as mixed content.. Same with some of the previous images uploaded via tapatalk.

Everything else is perfect though now.

In re SSL, I'm not using it unless the site requires it for legitimate purposes, such as financial transactions or personal identifying information.

Google can kiss my ass.

RichieBoy67 01-04-2017 12:55 PM

Quote:

Originally Posted by In Omnibus (Post 2580308)
In re SSL, I'm not using it unless the site requires it for legitimate purposes, such as financial transactions or personal identifying information.

Google can kiss my ass.

Well maybe so but if you rely on organic traffic and web browsers at some point you will have no choice.

The main reason I did it though now was for my Apple app. SSL is already or will be required some time this month for it to work.

Paul M 01-04-2017 12:56 PM

Quote:

Originally Posted by In Omnibus (Post 2580308)
Google can kiss my ass.

Unfortunately, its not just Google that are getting hysterical now.

Chrome are going to start flagging non SSL pages with password fields on them, others will no doubt follow suit.

RichieBoy67 01-04-2017 01:13 PM

Quote:

Originally Posted by Paul M (Post 2580312)
Unfortunately, its not just Google that are getting hysterical now.

Chrome are going to start flagging non SSL pages with password fields on them, others will no doubt follow suit.

Chrome is Google but yeah, I heard this as well.. other browsers will be following suit. I am sure Safari will be one of the first.

Domenico 01-04-2017 01:37 PM

Everybody, just do it!

Kane@airrifle 01-04-2017 05:53 PM

Quote:

Originally Posted by RichieBoy67 (Post 2580306)
I do not want to get too far off topic here but Cloudflare is much, much more than a proxy service.


Regarding ssl, I have installed letsencrypt onto my server and it worked well for most of my other sites. Great feature!

The only issue I have now is that the images I have imported over the years using the image import plug in are using http:// so those posts are still showing as mixed content.. Same with some of the previous images uploaded via tapatalk.

Everything else is perfect though now.

SQL query it away?
Code:

UPDATE post SET pagetext = REPLACE(pagetext,
'http://path-to-image-store.com/',
'https://path-to-image-store.com/');

Take a backup etc..

RichieBoy67 01-04-2017 06:04 PM

Quote:

Originally Posted by Kane@airrifle (Post 2580336)
SQL query it away?
Code:

UPDATE post SET pagetext = REPLACE(pagetext,
'http://path-to-image-store.com/',
'https://path-to-image-store.com/');

Take a backup etc..

Thanks, I was actually planning on that. That should be the last thing left to do.:)

Stratis 01-05-2017 07:07 PM

I had a horrible experience, I turn my forum to htpps, all was fine.
until i made a logout. I saw that as a guest all my forums are centering (all post, text and images was in center, when I loged in all is ok again.

Has any one this experience?. I panic for a little and back my forum to http.
Problem with centering was in all browsers and all skin, even standar skin.


All times are GMT. The time now is 03:23 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02395 seconds
  • Memory Usage 1,859KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (32)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete