← Back to team overview

mahara-contributors team mailing list archive

[Bug 707161] Re: opensslcnf not set (on rhel at least)

 

I note there is a line
 $opensslcnf = get_config('opensslcnf');

in  htdocs/api/xmlrpc/lib.php

But the opensslcnf variable does not get set on install nor does it seem to be listed in the comments of  
htdocs/config.php
htdocs/lib/config-defaults.php

Should it be added to the 
htdocs/lib/config-defaults.php

It's instructions should be added so people know it exists and what it
does


** Changed in: mahara
    Milestone: None => 1.9.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/707161

Title:
  opensslcnf not set (on rhel at least)

Status in Mahara ePortfolio:
  Triaged

Bug description:
  ssl key generation is dependent on finding the openssl.cnf key on the
  OS.  When installing Mahara on RHEL/Unbreakable Linux the name/value
  of opensslcnf/'/etc/pki/tls/openssl.cnf' does not get set in the
  'config' table of the database.  The prevents the key generation
  needed for extra-site networking.  It is possible that on other linux
  variants the file can be found without this but not on this
  combination.  This value does get set on a moodle 1.9 install which
  led me to figuring this out.

  mahara 1.3.4

  Red Hat Enterprise Linux Server release 5.5 (Tikanga) run from Oracle
  yum repository

  PHP 5.1.6 (cli) (built: Nov 29 2010 17:42:31) 
  Copyright (c) 1997-2006 The PHP Group
  Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

  Postgresql 8.4.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/707161/+subscriptions


References