Quantcast
Channel: LTI and Moodle
Viewing all articles
Browse latest Browse all 2864

Re: LTI not working in 4.5 on Windows

$
0
0
by Christoph Künkel.  

Unfortunately I was too quick to post this. Although my proposed solution works for the call to openssl_pkey_new(), it subsequently fails for the call to openssl_sign() in lib\php-jwt\src\JWT.php. This function does not have a $config option.

Ok, then bite the bullet I thought and gave the web server access to the default path (which I apparently can't change). Then, the calls to openssl_pkey_new() work without providing the "config" member in $conf. 

However, the call to openssl_sign() now fails with a new/different error code returned by openssl_error_string():
 
error:24070079:random number generator:RAND_write_file:Cannot open file
 
I have no idea where this file is meant to be created. As it seems to be a temporary file, I checked both $_SERVER['TMP'] and $_SERVER['TEMP'] but both exist and are writable to the web server.
 
Any help appreciated, Christoph



Viewing all articles
Browse latest Browse all 2864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>