PDA

View Full Version : http to https vbulletin 5


blade00
01-28-2018, 11:24 AM
Hi everyone, I tried to switch to https my site but an error occours on the login box (see attached picture).
Do you know why I have this issue?

Thanks
Alessandro

Dave
01-28-2018, 01:24 PM
You haven't changed all URL settings to its HTTPS varient yet in the AdminCP.

blade00
01-28-2018, 03:35 PM
now I changed it again to http as the forum is blocked when I put https addresses...

In Omnibus
01-28-2018, 04:02 PM
now I changed it again to http as the forum is blocked when I put https addresses...

What do you mean by "blocked?"

It sounds like there is something wrong with your https certificate.

Seven Skins
01-28-2018, 04:04 PM
This may help you: https://www.vbulletin.com/forum/articles/4361080-converting-your-forum-to-https

blade00
01-28-2018, 04:07 PM
@ Seven Skins - It's just the instruction I followed and doesn't work for me.
@ In Omnibus - I mean nobody can login anymore If I configure https

--------------- Added 1517163897 at 1517163897 ---------------

now I set back https, you can see how the login box appears on fiattipoclub .it

Seven Skins
01-28-2018, 05:11 PM
Have you changed all three of these settings in adminCP?

vBulletin URL
Login URL
Core URL

And you may need to use .htacess to redirect http to https

blade00
01-28-2018, 05:14 PM
Yes I changed the 3 urls and my hoster asks me to add to htaccess this:

RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]

Seven Skins
01-28-2018, 05:24 PM
Try this

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

blade00
01-28-2018, 06:00 PM
Done, nothing change, thank you

meissenation
01-31-2018, 12:23 AM
I switched to HTTPS for a few months but it was way more headache than it was worth. All it takes is someone to have an HTTP image in their signature and your trusted logo turns into mixed content some trusted and some untrusted. My site was also inexplicably slower while it was on HTTPS. I switched back and my site is noticeably faster again. I don't know how to explain it, but it was just a pain.

Mark.B
01-31-2018, 05:19 PM
<a href="https://www.vbulletin.com/forum/articles/4361080-converting-your-forum-to-https" target="_blank">THIS</a> guide explains in detail how to convert your site to https. It's important to follow every single step.

noypiscripter
02-01-2018, 03:41 AM
For user-generated content where you don't have full control on the users' usage of http/https such as in signatures and post attachments, you can add this meta tag in the head to block mixed content. This way, your site will still show the green padlock icon in the address bar.

<meta http-equiv="Content-Security-Policy" content="block-all-mixed-content" />

If you are on vBCloud, you can add it in the Google Ownership Verification HTML tag in AdminCP, otherwise, you can add it in the head_include template in AdminCP.

romaine
02-02-2018, 05:26 AM
now I changed it again to http as the forum is blocked when I put https addresses...

if that you could not successfully install SSL on your hosting and your forum is not complete running with SSL, you need to check if SSL is enabled on your hosting or not.

blade00
02-02-2018, 03:47 PM
SSL are actived on my hosting, the fact is that the hoster says It's a vbulletin issue, and Vbulletin support says It's an hosting issue. Https works on the all site but the login box doesn't work...

In Omnibus
02-02-2018, 04:10 PM
SSL are actived on my hosting, the fact is that the hoster says It's a vbulletin issue, and Vbulletin support says It's an hosting issue. Https works on the all site but the login box doesn't work...

What do you mean by "doesn't work?"

Is it redirecting you? Is it causing a white page? Is it giving an invalid login message?

It sounds to me like your .htaccess files are conflicting.

Delete all of them and reinstall only the one included with vBulletin.

blade00
02-02-2018, 04:17 PM
on the first post of this discussion you can find attached the error I get, thank you

--------------- Added 1517596148 at 1517596148 ---------------

this address: https://www.fiattipoclub.it/auth/login-form?vb_login_redirected=1&url=aHR0cHM6Ly93d3cuZmlhdHRpcG9jbHViLml0
works when I have redirect disabled and http enabled. It doesn't work If I activate the redirect to https and I change urls by adding "s"