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 »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • SSL on a Drupal multisite
Pages: [1]

Author Topic: SSL on a Drupal multisite  (Read 3200 times)

fcreek

  • I’m new here
  • *
  • Posts: 12
  • Karma: 1
SSL on a Drupal multisite
January 16, 2010, 01:28:53 pm
I have a Drupal installation (6.15) with CiviCRM (3.0) and multiple sites installed. Each site has one db for both Drupal and Civi. I want to allow each site to process secure online donations. We have a wildcard SSL installed, so this is easy when a site is in development (just https://subsite.domain.com) but I'm not sure how that would work when we have a site in production, since you can only have one SSL per IP/cPanel account. Is there a way to get Drupal/Civi to use a http://www.subsite.com URL usually AND a https://subsite.domain.com for CiviCRM contribution pages? I realize symlinks would be needed to get multiple domains to point to a multisite, but how could you get the site to switch from unique URL to secure subdomain and back?

Hope that makes sense! Any ideas are 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: SSL on a Drupal multisite
January 16, 2010, 03:12:32 pm

i dont think this is possible without some significant code changes and config manipulation

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

fcreek

  • I’m new here
  • *
  • Posts: 12
  • Karma: 1
Re: SSL on a Drupal multisite
January 16, 2010, 04:49:13 pm
Thank you for the feedback. So what is the recommended course of action for a developer setting up multiple sites that use CiviCRM to process contributions (preferably with Authorize.net)? Completely separate installs for each?

Thanks again.

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: SSL on a Drupal multisite
January 16, 2010, 10:22:47 pm

for now seperate installs are probably your best bet.

if important to you/your org, consider providing a patch to the code to resolve your issue

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

fcreek

  • I’m new here
  • *
  • Posts: 12
  • Karma: 1
Re: SSL on a Drupal multisite
January 19, 2010, 08:42:29 pm
I found a couple of options...

First, we have been able to setup our subdomain (https://subsite.domain.com) as the default domain for CiviCRM. Then, we applied a symlink to make Drupal work under the full URL (http://subsite.com). Then all we had to do was make the "Donate" link in the menu static, so it points to https://subsite.domain.com/civicrm/.... and donations process securely.

Also, while fishing around in the developer docs, I found this solution:

http://wiki.civicrm.org/confluence/display/CRMDOC/Sharing+an+SSL+Certificate+for+Multi-site+CiviContribute+Pages

Not sure if it still works with 3.0, but seems like a straightforward patch.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • SSL on a Drupal multisite

This forum was archived on 2017-11-26.