CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Force secure URLs (SSL) not working
Pages: [1]

Author Topic: Force secure URLs (SSL) not working  (Read 1542 times)

reallyordinary

  • Guest
Force secure URLs (SSL) not working
November 02, 2008, 11:48:22 pm
I've got an SSL certificate properly set up on my site and I can access the site using https:// no problem... but when I go to global settings - resource URLs - in CiviCRM admin and change "force secure URLs (SSL)" to "yes" and click save... I get that red error message that says "you need to set up a secure server before you can enable SSL."

I've been looking around the forums trying to see if anyone else has had that issue... haven't noticed anything similar. 

So... I definitely have an SSL certificate installed and running properly on my server, but CiviCRM's saying it can't find a secure server. 

Anyone have any idea what's going on?

Any assistance is greatly appreciated.


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Force secure URLs (SSL) not working
November 03, 2008, 07:52:20 am

is the secure server on the same domain as your normal server? i.e. http://www.example.com/ and https://www.example.com/

if so, you might want to add some debugging code here: CRM/Utils/System.php, function checkURL (line 635)

You can also check your SSL logs and see why our test request is not returning a valid 200 page

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

FatherShawn

  • Ask me questions
  • ****
  • Posts: 372
  • Karma: 25
    • C3 Design
  • CiviCRM version: 4.2.11
  • CMS version: Drupal 7.23
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
Re: Force secure URLs (SSL) not working
December 02, 2008, 08:53:22 am
I have the same issue.  It's not a huge problem since J!1.5 implemented forcing ssl via the menu item parameters, but it is an irritation/security backup.

access log shows the return code of 401 - I'm not sure how to debug why.  https: access throws no error in normal use.

Lead Developer, C3 Design.
Twitter: @FatherShawn

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Force secure URLs (SSL) not working

This forum was archived on 2017-11-26.