Is there a method of procedure for setting a site up to SSL available?
SSL setup
Collapse
X
-
SSL setup
adktramping ~ my happy place.
"Whoever said practice makes perfect was an idiot. Humans can't be perfect because we're not machines." ~ Sam Gardner.
Vote for your favorite feature requests and the bugs you want to see fixed.Tags: None -
It's fairly straightforward:
1. Install SSL certificate on server
2. Update the three URL settings in the admincp to reflect https
3 Redirect http to https at server side.MARK.B
vBulletin Support
------------
My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
My Unofficial vBulletin Cloud Demo: https://www.adminammo.com👍 1 -
Should it be all three? I'm trying to set this up at the moment and in admincp, settings, options, site name/URL/Contact Details the only one that's specified as for SSL is the one saying Login URL. What happens if you don't change all three but just change the Login URL?Comment
-
You can but it's recommended to make the entire site as https if you have SSL. Google prefers secure sites more. And soon Chrome will put a scary warning at the address bar for non-https sites.Comment
-
How do I 'Redirect http to https at server side'. Do I do this via .htaccess and if so, what do I put in the file.Comment
-
Is it:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mysite\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.mysite.com/$1 [R,L]
Or something else?
Last edited by jdj; Tue 21 Mar '17, 9:16am.Comment
-
Code:#To redirect users to the secure version of your site, uncomment the lines below RewriteCond %{HTTPS} !=on RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
NOT FOUND
The requested URL/auth/login-form was not found on this server.
Apache server at mysite.com Port 443
So what code should I use in the .htaccess file? The reason I need to know is that having switched https on and changed all three URLs in the admincp to https, if I go to my site via http://mysite.com it doesn't let me login and presumably doesn't let anybody else login. It only lets me login if I go directly to https://mysite.com. So I do need to redirect.
To be clear: The first 12 lines of my modified .htaccess file read exactly as follows:
<IfModule mod_rewrite.c>
RewriteEngine On
# In some cases where you have other mod_rewrite rules, you may need to remove the
# comment on the following RewriteBase line and change it to match your folder name.
# This resets the other mod_rewrite rules for just this directory
# If your site was www.example.com/forum, the setting would be /forum/
#RewriteBase /
#To redirect users to the secure version of your site, uncomment the lines below
RewriteCond %{HTTPS} !=on
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
---------
Reversing the changes also allows me to login to the site from the front end from https if I navigate there directly then. So it's this code that's causing the problem.
Specifically what code should I use?Last edited by jdj; Wed 22 Mar '17, 4:50am.Comment
-
It should redirect everything to HTTPS. If you're getting 404 errors, you need to discuss this with your hosting provider as this is a server directive. We are only providing it as a courtesy. They may need different directives based on their server configurations.Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
If it helps, I use this and it works fine:
Code:RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
MARK.B
vBulletin Support
------------
My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
My Unofficial vBulletin Cloud Demo: https://www.adminammo.comComment
-
-
My host suggested this:
QUOTE:
Based on a search, to force all web traffic to use HTTPS, you should be able to use the below in your htaccess file
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]
To force traffic for a specific domain to use HTTPS, you would use
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com [NC] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]
With regards to the 404 errors you are seeing, this may be a result of the order of the rewrite rules - they are called in the order in which they appear in the htaccess, so you may need rearrange the existing rewrite rules you have set up to get it to work as intended.
END QUOTE:
The 2nd suggestion didn't seem to do anything at all. The first does seem to redirect all traffic to https but we have an EV SSL. When I view the site in Firefox I see the EV SSL, when I view it in IE I don't. So given that this partly works, what would I have to do to get IE to show the EV SSL as well?Comment
-
What is an EV SSL?Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
Extended Validation SSL - it shows a green bar in the browser with the name of the company in whose name the domain is registered for extra security.
Example here.
Comment
-
Extended Validation SSL - it shows a green bar in the browser with the name of the company in whose name the domain is registered for extra security.
Example here.
https://bank.barclays.co.uk/olb/auth/LoginLink.actionMARK.B
vBulletin Support
------------
My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
My Unofficial vBulletin Cloud Demo: https://www.adminammo.comComment
Related Topics
Collapse
-
by torenHi
I'm using vbulletin forum 5.1.0.
I changed the Login URL somehow and i don't know how to fix it.
When i click on "Login or sign up" at the top right of the screen, small...1 Photo-
Channel: Support Issues & Questions
-
-
by RJJMCASo I can log in to the AdminCP
However, when I try to login on default site it says: error-1
error-1
error_information_x-1...1 Photo-
Channel: Support Issues & Questions
-
-
by mrscotWhen I try to login it opens a mini-window of my forums. Why does it do this and how can I log in? (See attached screen shot)1 Photo
-
Channel: Support Issues & Questions
-
-
by sparkybpYour Common Installation Issues portion of the vBulletin manual suggests that the Site URL setting under Settings -> Options -> Site Name / URL / Contact Details has /core at the end of it. ...
-
Channel: Support Issues & Questions
Sun 18 May '14, 5:54pm -
-
by John.RossI have been bouncing back and forth between server and install and managed to lock myself out twice thanks do content protection (had to disable it in browser temp) but no matter what I do I either get...
-
Channel: vBulletin 5 Installs & Upgrades
-
Comment