key not generated?

key not generated?

by Edward Stone -
Number of replies: 2

In my Moodle 1.9.6 ...

I've turned networking on (in readiness to link with Mahara). The key doesnt seem to appear, with a valid date until, Thursday, 1 January 1970, 12:00 AM?

I also have these warning messages,

Warning: openssl_csr_sign() [function.openssl-csr-sign]: cannot get CSR from parameter 1 in C:\wamp\www\moodle\mnet\lib.php on line 367

Warning: openssl_x509_export() [function.openssl-x509-export]: cannot get cert from parameter 1 in C:\wamp\www\moodle\mnet\lib.php on line 372

Warning: openssl_x509_free() expects parameter 1 to be resource, boolean given in C:\wamp\www\moodle\mnet\lib.php on line 373

Warning: openssl_pkey_export() [function.openssl-pkey-export]: cannot get key from parameter 1 in C:\wamp\www\moodle\mnet\lib.php on line 380

Warning: openssl_pkey_free() expects parameter 1 to be resource, boolean given in C:\wamp\www\moodle\mnet\lib.php on line 382

Any help appreciated.

Average of ratings: -
In reply to Edward Stone

Re: key not generated?

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators
start here:
http://docs.moodle.org/en/Moodle_Network_FAQ#Moodle_doesn.27t_generate_any_keys_on_the_networking_pages

(problem is that fix isn't in Mahara quite yet...) - so you could check out the instructions here:
http://moodle.org/mod/forum/discuss.php?d=110343#p602422
In reply to Dan Marsden

Re: key not generated?

by Edward Stone -

Thanks Dan.

I'm using wamp, were would I find the PHP directory? An obvious question, but this is the first time I've attempted this.