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) »
  • SSL enabled but does not work in CIVICRM
Pages: [1]

Author Topic: SSL enabled but does not work in CIVICRM  (Read 4488 times)

jsandhu2204

  • Guest
SSL enabled but does not work in CIVICRM
April 14, 2009, 08:20:32 am
I have installed SSL.  Using Joomla Menus, I force SSL, Also in CiviCRM, I have setup SSL for URLS.  but if I access site using http://terisikhi.org and then click on campaign menu, It does not change from http to https. 

2) In IE 7, I am getting lot of pops "Non secure page" etc.

What is the best solution to do https only for CRM and not for the whole site.  It is going to slow site performance.  Please take a look at http://terisikhi.org and then click on Campaign and then event information. ???

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: SSL enabled but does not work in CIVICRM
April 14, 2009, 08:36:36 am
You have SSL configured for the www. domain, not the default.
If you go to: https://www.terisikhi.org/index.php?option=com_civicrm&view=Contributions&Itemid=83
it works. That might be something you need to address through the SSL cert company or on Apache.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

jsandhu2204

  • Guest
Re: SSL enabled but does not work in CIVICRM
April 14, 2009, 10:51:27 am
I don't want to use HTTPS for the whole site.  Using Joomla, I have configured login, CIVICRM for HTTPS.  It is working for Login page, but If click on CiviCRM links, it does not force SSL?

So issue CiviCRM does not force SSL on the link...

If I use https:// url, yes it will work.  But user access http://terisikhi.org and then click on CiviCRM contribute link.

I want the users who are not registered to contribute too...

Take a look

STEP1: http://terisikhi.org
STep2: Click on Campaign->Contribute
STep3: You get error message HTTPS is not setup on the machine and URL is pointing to HTTP instead of HTTPS

I have configured this on Joomla Meny to use SSL and CIVICRM URL Resource -> force SSLL

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: SSL enabled but does not work in CIVICRM
April 14, 2009, 11:35:36 am
You've misunderstood.

The issue is that your SSL cert is setup so that:
https://www.terisikhi.org  is secured, but
https://terisikhi.org  is NOT.

SSL certs are very specific. You should have it configured so that BOTH www.domain.com AND domain.com are secured.

The issue may be with the way the cert was installed on your server, OR a configuration within Apache. CiviCRM may still be an issue, because the https check mechanism looks for both versions of the secure domain, and fails the check (thus not redirecting) if either is missing. If you fix the cert problem, CiviCRM should resolve correctly.

support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

jsandhu2204

  • Guest
Re: SSL enabled but does not work in CIVICRM
April 14, 2009, 06:22:20 pm
SSL is enabled on https://www.terisikhi.org and https://terisikhi.org

Problem is:  I don't want to enable SSL on the whole site for CiviCRM to work.  So using Joomla Menu 1.5, I enabled SSL only for CiviCRM Contribute.  If user is not logged that means http then you click on CiviCRM contribute, it says that https is not enabled.  But actually it is enabled. It should automatically switch to https

Here is another error I got today
backTrace

/home6/kaiseyho/public_html/terisikhi/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php, backtrace, 258
/home6/kaiseyho/public_html/terisikhi/administrator/components/com_civicrm/civicrm/CRM/Core/Controller.php, fatal, 207
/home6/kaiseyho/public_html/terisikhi/administrator/components/com_civicrm/civicrm/CRM/Core/Controller.php, key, 145
/home6/kaiseyho/public_html/terisikhi/administrator/components/com_civicrm/civicrm/CRM/Event/Controller/Registration.php, __construct, 44
/home6/kaiseyho/public_html/terisikhi/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(201) : eval()'d code, __construct, 1
/home6/kaiseyho/public_html/terisikhi/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php, eval, 201
/home6/kaiseyho/public_html/components/com_civicrm/civicrm.php, invoke, 76
/home6/kaiseyho/public_html/components/com_civicrm/civicrm.php, civicrm_invoke, 24
/home6/kaiseyho/public_html/libraries/joomla/application/component/helper.php, require_once, 162
/home6/kaiseyho/public_html/includes/application.php, renderComponent, 124
/home6/kaiseyho/public_html/index.php, dispatch, 68

unrecoverable error
    Sorry. A non-recoverable error has occurred.

    Could not find valid Key

    Return to home page.


jsandhu2204

  • Guest
Re: SSL enabled but does not work in CIVICRM
April 15, 2009, 11:02:12 am
I talked to Bluehost.  They implement SSL at https://www.terisikhi.org.  What they have done is to redirect http://terisikhi.org to http://www.terisikhi.org. 

The issue is if the user is logged on this site, it is already using https, so the contribute link works for https://terisikhi.org or https://www.terisikhi.org. 

But if the user is not logged in, that means website is in http mode, then if the user clicks on contribute, you see the following error:  I have forced the link to use SSL in Joomla as well as in CiviCRM.

http://www.terisikhi.org/index.php?option=com_civicrm&view=Contributions&Itemid=83

It should switch to https://... but it is not doing that.  In Joomla, if the users click on login, it automatically switches to https://  but not for CiviCrm Contribute link>>

I get the following error.

backTrace


/home6/kaiseyho/public_html/terisikhi/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php, backtrace, 258
/home6/kaiseyho/public_html/terisikhi/administrator/components/com_civicrm/civicrm/CRM/Utils/System.php, fatal, 832
/home6/kaiseyho/public_html/terisikhi/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php, redirectToSSL, 132
/home6/kaiseyho/public_html/components/com_civicrm/civicrm.php, invoke, 76
/home6/kaiseyho/public_html/components/com_civicrm/civicrm.php, civicrm_invoke, 24
/home6/kaiseyho/public_html/libraries/joomla/application/component/helper.php, require_once, 162
/home6/kaiseyho/public_html/includes/application.php, renderComponent, 124
/home6/kaiseyho/public_html/index.php, dispatch, 68


 Sorry. A non-recoverable error has occurred.
HTTPS is not set up on this machine

Return to home page.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • SSL enabled but does not work in CIVICRM

This forum was archived on 2017-11-26.