CloudFlare SSL + vBulletin 5 Login Issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BboyEatsbacon
    New Member
    • Feb 2012
    • 3
    • 4.1.x

    CloudFlare SSL + vBulletin 5 Login Issue

    Hi all,

    I have recently deployed a new copy of vBulletin 5 and I am now attempting to get it set up using SSL. Everything works fine on the site, but when attempting to login, I receive the following message:

    (Larger resolution available here.)

    I believe that this is caused by the fact that I have the SSL configured through CloudFlare rather than on-site through the webserver. Does anyone have a working workaround for this? I am currently using Nginx, CloudFlare, and vBulletin 5.2.0. All of the settings are configured correctly to the best of my knowledge in the AdminCP. Like I said before, everything else works via SSL except for the login module.

    Any ideas?

    Regards,
    BboyEatsbacon
  • Brad Padgett
    Senior Member
    • Jul 2014
    • 420
    • 5.1.x

    #2
    Originally posted by BboyEatsbacon
    Hi all,

    I have recently deployed a new copy of vBulletin 5 and I am now attempting to get it set up using SSL. Everything works fine on the site, but when attempting to login, I receive the following message:

    (Larger resolution available here.)

    I believe that this is caused by the fact that I have the SSL configured through CloudFlare rather than on-site through the webserver. Does anyone have a working workaround for this? I am currently using Nginx, CloudFlare, and vBulletin 5.2.0. All of the settings are configured correctly to the best of my knowledge in the AdminCP. Like I said before, everything else works via SSL except for the login module.

    Any ideas?

    Regards,
    BboyEatsbacon

    You need to set your login URL to include https://

    Go to Settings > Site Name/URL/Contact Details > Login URL > and set it to https instead of http
    "Do not go where the path may lead, instead go where there is no path and leave a trail." - Ralph Waldo Emerson

    Comment

    • BboyEatsbacon
      New Member
      • Feb 2012
      • 3
      • 4.1.x

      #3
      Originally posted by TheXboxCloud


      You need to set your login URL to include https://

      Go to Settings > Site Name/URL/Contact Details > Login URL > and set it to https instead of http
      Thanks for your reply!

      Yes, I have already done this and that is what is causing this error. Loading it via plain HTTP results in a blank spot where the module should appear due to a secure page loading insecure elements, and loading via HTTPS results in the error described above. I suspect that this is due to the server referencing itself in the PHP module loading the login page, and since the server is not running a local HTTPS server, it cannot find the resource specified. Now, I am curious as to if there is a known workaround or a potential code patch which I could apply on my end to work more like vB4/prior for requesting the login applet.

      Any other suggestions?

      Comment

      • Brad Padgett
        Senior Member
        • Jul 2014
        • 420
        • 5.1.x

        #4
        Originally posted by BboyEatsbacon

        Thanks for your reply!

        Yes, I have already done this and that is what is causing this error. Loading it via plain HTTP results in a blank spot where the module should appear due to a secure page loading insecure elements, and loading via HTTPS results in the error described above. I suspect that this is due to the server referencing itself in the PHP module loading the login page, and since the server is not running a local HTTPS server, it cannot find the resource specified. Now, I am curious as to if there is a known workaround or a potential code patch which I could apply on my end to work more like vB4/prior for requesting the login applet.

        Any other suggestions?
        Not sure since you did do what I suggested already.

        There is another option for free SSL called "Let's Encrypt". You may want to do a search on it. This could potentially be a work-around for the moment.

        Although maybe some other people have some suggestions so you may want to hear those first.

        You can try enabling "always use https" via cloudflare page rules and see if that helps.

        But if you can't find a fix I hear good things about "Lets Encrypt" though I have never used them.
        "Do not go where the path may lead, instead go where there is no path and leave a trail." - Ralph Waldo Emerson

        Comment

        • BboyEatsbacon
          New Member
          • Feb 2012
          • 3
          • 4.1.x

          #5
          Originally posted by TheXboxCloud

          Not sure since you did do what I suggested already.

          There is another option for free SSL called "Let's Encrypt". You may want to do a search on it. This could potentially be a work-around for the moment.

          Although maybe some other people have some suggestions so you may want to hear those first.

          You can try enabling "always use https" via cloudflare page rules and see if that helps.

          But if you can't find a fix I hear good things about "Lets Encrypt" though I have never used them.

          Thanks for the reference! Let's Encrypt has worked wonderfully. There is now a full SSL configuration between my server and the enduser, and this problem is resolved! I don't know that I would directly take that as a solution, but it's certainly a great workaround. Thanks for your suggestion.

          Comment

          • Brad Padgett
            Senior Member
            • Jul 2014
            • 420
            • 5.1.x

            #6
            Originally posted by BboyEatsbacon


            Thanks for the reference! Let's Encrypt has worked wonderfully. There is now a full SSL configuration between my server and the enduser, and this problem is resolved! I don't know that I would directly take that as a solution, but it's certainly a great workaround. Thanks for your suggestion.

            No problem. Glad you got it working.
            "Do not go where the path may lead, instead go where there is no path and leave a trail." - Ralph Waldo Emerson

            Comment

            Related Topics

            Collapse

            Working...