key not generated?

key not generated?

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.

評比平均分數: -
In reply to Edward Stone

Re: key not generated?

Dan Marsden發表於
Core developers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 Plugins guardians的相片 Testers的相片 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?

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.