- Posts: 5
How To / General
HTTPS connectivity is not working
- kodandaram
-
Topic Author
- Offline
- New Member
-
Less
More
8 years 7 months ago #1
by kodandaram
HTTPS connectivity is not working was created by kodandaram
We installed the Joomla latest version and Moodle 3.2 version.
Also we installed the joomdle latest version.
While configuring the Joomla to Moodle connection http is working properly [System Check] but if we changed that setting into https it's not working [System Check].
There is no issue with the server side ssl, because in that same server the https is working properly with some other applications.
Please advice on it !!!
Also we installed the joomdle latest version.
While configuring the Joomla to Moodle connection http is working properly [System Check] but if we changed that setting into https it's not working [System Check].
There is no issue with the server side ssl, because in that same server the https is working properly with some other applications.
Please advice on it !!!
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7936
8 years 7 months ago - 8 years 7 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic HTTPS connectivity is not working
Hi.
Is this a valid certificate? ie: not a custom one not backed by a CA?
Also, which error do you get when you enable https?
Is this a valid certificate? ie: not a custom one not backed by a CA?
Also, which error do you get when you enable https?
Last edit: 8 years 7 months ago by Antonio Durán.
Please Log in or Create an account to join the conversation.
- kodandaram
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
8 years 7 months ago #3
by kodandaram
Replied by kodandaram on topic HTTPS connectivity is not working
hi,
This is a valid certificate provided by amazon, it has a validity till AUG 2018.
Please find the attached image for error message
This is a valid certificate provided by amazon, it has a validity till AUG 2018.
Please find the attached image for error message
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7936
8 years 7 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic HTTPS connectivity is not working
Did you change Moodle config to use https URL?
But it seems it is not even able to open the connection test script on Moodle side, so that's probably not the problem.
Check raw replies files to see if you can get any more info:
www.joomdle.com/wiki/System_health_check#Raw_replies
But it seems it is not even able to open the connection test script on Moodle side, so that's probably not the problem.
Check raw replies files to see if you can get any more info:
www.joomdle.com/wiki/System_health_check#Raw_replies
Please Log in or Create an account to join the conversation.
- kodandaram
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
8 years 7 months ago - 8 years 7 months ago #5
by kodandaram
Replied by kodandaram on topic HTTPS connectivity is not working
Hi,
We changed the config file too, and moodledata/temp/joomdle_system_check.xml file has giving
<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<params>
<param>
<value>
<string>It works</string>
</value>
</param>
</params>
</methodResponse>
We changed the config file too, and moodledata/temp/joomdle_system_check.xml file has giving
<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<params>
<param>
<value>
<string>It works</string>
</value>
</param>
</params>
</methodResponse>
Last edit: 8 years 7 months ago by kodandaram.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7936
8 years 7 months ago #6
by Antonio Durán
Replied by Antonio Durán on topic HTTPS connectivity is not working
Check the other file, the one in Joomla side.
Delete current file and test again to be sure it is not there from previous run without https.
Then attach file instead of pasting please.
Delete current file and test again to be sure it is not there from previous run without https.
Then attach file instead of pasting please.
Please Log in or Create an account to join the conversation.
- kodandaram
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
8 years 7 months ago #7
by kodandaram
Replied by kodandaram on topic HTTPS connectivity is not working
Hi,
After configure with https raw files are not giving any information(empty), but with http, rawfiles are having the joomdle connection details.
After configure with https raw files are not giving any information(empty), but with http, rawfiles are having the joomdle connection details.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7936
8 years 7 months ago #8
by Antonio Durán
Replied by Antonio Durán on topic HTTPS connectivity is not working
Yes, that's what I guessed.
So, it seems there is a connection problem, and server cannot connect to itself via https.
To confirm this you can create 2 simple php scripts:
one just with something like: echo "TEST";
The other one just a file_get_contents call to the URL of first script.
I guess it will work if you use http, and not work if you use https.
So, it seems there is a connection problem, and server cannot connect to itself via https.
To confirm this you can create 2 simple php scripts:
one just with something like: echo "TEST";
The other one just a file_get_contents call to the URL of first script.
I guess it will work if you use http, and not work if you use https.
Please Log in or Create an account to join the conversation.
- kodandaram
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
8 years 7 months ago #9
by kodandaram
Replied by kodandaram on topic HTTPS connectivity is not working
Hi,
Issue has been resolved, problem with DNS, we have ssl with loadbalancer, after adding localhost entry with loadbalance ip address problem was resolved.
Thank you
Issue has been resolved, problem with DNS, we have ssl with loadbalancer, after adding localhost entry with loadbalance ip address problem was resolved.
Thank you
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7936
8 years 7 months ago #10
by Antonio Durán
Replied by Antonio Durán on topic HTTPS connectivity is not working
Great, to know it is working thanks for letting us know about the solution.
Please Log in or Create an account to join the conversation.