Does the networking functionality not work on a Win2k3 system and IIS6? I have tried everything i can think of to make it work with no luck.. Has anyone had any luck getting a public key on windows based systems????
To get the keys working on Win2K3 and IIS, add the environment variable OPENSSL_CONF = <path to your openssl.cnf file>
openssl.cnf is usually found in PHP\extras.
Excuse my ignorance but where do I add the variable?
OPENSSL_CONF = <path to your openssl.cnf file>
Cheers
Control Panel> System> Advanced Tab> Environment Variables Button
System Variables
Daren
Thanks very much
Damian
I am running:
Moodle 1.8
IIS 6
Windows 2003
PHP 4.4.7
MySQL 4.1
phpinfo() is reporting that OpenSSL is enabled.
All I am getting is the same as in the orginal screenshot.
Please go to start>run>type cmd. Under DOS command go to Moodle Directory. Type cd/moodle directory/server/php/extras/openssl
Enter the command line: copy openssl.cnf to moodle directory/server/php/extras/openssl/openssl.conf
Then go to start > control panel> system > environment variable. Under System variables> click on New to add: Variable name as OPENSSL_CONF and Variable value as: moodle directory\server\php\extras\openssl\openssl.conf
Click okay and restart your moodle server. Good luck
Rustam
I have the same problem with same system setup. Also cannot find openssl.cnf file within extras folder.
Cheers,
Ali
I had the same problem in Windows servers. I solved the problem as follows,
In command window, copy the openssl.cnf (in php\extras\openssl folder) to openssl.conf or others. Then set the environment variable OPENSSL_CONF to the path to the openssl.conf file. Restart the webserver.
Best Wishes,
JD Park
thanks,
Shiran
http://moodle.org/mod/forum/discuss.php?d=83808
Your Mileage May Vary... or not... good luck!
I have the same problem. I have two Moodle-instances at hostgator.com, and whatever I try, I do not get the Key.
Is Networking possible on a shared server like Hostgator? Or do you have experience with better hosting-companies?
Any help would be great!
Thanks,
Robert
Email your host and ask them what you need to do to generate an open ssl certificate and tell them you need open ssl on port 443. Tell them what it is for. It will take several tickets to get what you need done and if you are on a shared hosting server they may not want to do what is required.
If hostgator runs HTTPS on port 22, then that is a very odd setup, as port 22 is normally for SSH.
Check the IP addresses of your instances. If two Moodle instances are on the same IP, they require different cookie prefixes.
http://docs.moodle.org/en/Moodle_Network (setup 1.2.)
Brian
I have the same issue on a 1.8.6 updated platform on Debian. Just at the same place I have 1.9 recent disribution that generates correctly the public key on quite the same environment.
Someone knows ?
Thanks.
I answer to myself :
The solution I found was deleting the mnet_localhost_id value in the mdl_config table so the mnet environment was forced to renew all the environment parameters.
I have already set the OPENSSL_CONF variable to point to the openssl.cnf file :
OPENSSL_CONF = D:\moodle\server\php\extras\openssl\openssl.cnf
I am running the "MoodleWindowsInstaller-latest-19.zip" version of Moodle, downloaded this week.
Moodle 1.9
Apache 2.2
Windows XP
PHP 5.2.5
MySQL 5.0.51a
phpinfo() is reporting that OpenSSL is enabled.
will appreciate any help on this matter!
I answer to myself :
The solution I found was deleting the mnet_localhost_id value in the mdl_config table so the mnet environment was forced to renew all the environment parameters.
Thanks this worked for me.
Cheers,
noveck