Now i have one question in Moodle for configure SSL, because I never do on it so i don't know the step that i should start first. if everyone knew about this please lets me know.
thanks and regards,
Actually if only run from my server is ok by IP address but I use DNS to run my moodle by alias name, when I do like you tell me but it doesn't works.
Ok, the step that i do on my moodle.
1. on my file config.php $CFG->wwwroot = 'http://moodle.ist.lan';
2. I go to httpd.conf to add VirtualHost that server name is moodle.ist.lan
2. I go to DNS to create alias name is moodle.ist.lan
so now I have problem when i follow by you like this $CFG->wwwroot = 'https://moodle.ist.lan' in config.php, it doesn't works,
Hi, you didnt tell me what OS you are running, also did you try to run any other php script under https:// and worked out or not? also do you have an installed and configured openssl? have your generated/created SSL certificate? are you sure that firewall doesnt stop port 443? please make sure that apache is started with ssl and nothing is blocking your ssl port (443)
however, I will assume here that you have correctly created an SSL certificate and openssl is installed an configured.
1- your httpd.conf must contain: LoadModule ssl_module modules/mod_ssl.so
2- (OPTIONAL) isolate httpd ssl configuration by adding to your httpd.conf:
# Secure (SSL/TLS) connections
Include conf/extrat(or whatever you have)/httpd-ssl.conf
3- in httpd.conf the below lines must be present to support starting without SSL on platforms with no /dev/random equivalent but a statically compiled-in mod_ssl.
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
4- edit/create httpd-ssl.conf and make sure the values are something like the attached file..
5- restart apache..
As I already tell about my OS. and can you tell me something relate to:
1. I heard Openssl use for linux, so can you tell how can i install openssl in windows 2003 server?
2. How can I generated/created SSL certificate?
I would like all of help me.