Forums | Mahara Community
Mahara/Moodle integration
/
could not generate a new ssl key
19 January 2012, 4:12
hi ,
i install moodel and mahara with success and now i want to fix integration.
mahara give to me this message "could not generate a new ssl key..."
1. i have already change the lines (xampp/htdocs/moodle/mnet/lib.php)with this:
$config = array( "config"=>"C:\xampp\apache\bin\openssl.cnf");
$dn["commonName"] = preg_replace(':/$:', '', $dn["commonName"]);
$new_key = openssl_pkey_new($config);
$csr_rsc = openssl_csr_new($dn, $new_key, $config);
$selfSignedCert = openssl_csr_sign($csr_rsc, null, $new_key, $days, $config);
2. i copy the libeay32.dll, ssleay32.dll from C:\xampp\apache\bin and i paste in c:\Windows\System32
3.i copy the C:\xampp\apache\conf\ssl.crt , server.crt and C:\xampp\apache\conf\ssl.key ,server.key , and i paste it to C:\xampp\apache\bin
4.i make Environmental variables
OPENSSL_CONF and SSLEAY_CONF
and still have this message..what i am doing wrong ? please help me,