- Posts: 4
How To / General
Joomdle over SSL
- Krzysiek
- Topic Author
- Offline
- New Member
-
Less
More
10 years 5 months ago #1
by Krzysiek
Joomdle over SSL was created by Krzysiek
I successfully integrated my Joomla site with Moodle and everything works just fine, yet my customer decided that according to their company's policy the whole site should use SSL. So I purchased 2 certificates: one for Moodle and the other for Joomla and there my struggle began. I managed to make Joomla use SSL and everything works. The problem is that whenever a user accesses any scorm that is placed in Moodle communication changes to http. When I set Moodle to work in https changing .htaccess and wwwroot to https the connection between Joomla and Moodle breaks down. I've run out of ideas right now. What am I missing there? Is it possible to make two integrated sites work seamlessly over https?
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
10 years 5 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Joomdle over SSL
You need to put Moodle in https and make Joomdle work with it. If the connection breaks, I guess somethig could be done to fix it.
Please Log in or Create an account to join the conversation.
- Krzysiek
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
10 years 5 months ago #3
by Krzysiek
Replied by Krzysiek on topic Joomdle over SSL
Thank you very much for your answer;)
This is what I actually did, but than the connection broke down. Do I need to change in the configuration of Moodle and Joomla addresses to https? Do I need to change anything else like generate new tokens?
This is what I actually did, but than the connection broke down. Do I need to change in the configuration of Moodle and Joomla addresses to https? Do I need to change anything else like generate new tokens?
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
10 years 5 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Joomdle over SSL
> Do I need to change in the configuration of Moodle and Joomla addresses to https?
Yes
> Do I need to change anything else like generate new tokens?
I don't know. You can test and see what you get in system check.
Yes
> Do I need to change anything else like generate new tokens?
I don't know. You can test and see what you get in system check.
Please Log in or Create an account to join the conversation.
- Krzysiek
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
10 years 5 months ago #5
by Krzysiek
Replied by Krzysiek on topic Joomdle over SSL
Well, I changed addresses to https and than in system check 3 bottom lines: connection of Joomla with Moodle, Moodle with Joomla and Joomdle web services turned red. I played around changing different options: connection methods from file_get_contents to curl, generated new tokens and nothing worked. When I changed again to http everything in system check turned green again. Help Antonio, what to do next?
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
10 years 5 months ago #6
by Chris
Replied by Chris on topic Joomdle over SSL
What are the Joomla and Moodle urls you are entering in the Joomdle configuration on both platforms?
Please Log in or Create an account to join the conversation.
- Krzysiek
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
10 years 5 months ago - 10 years 5 months ago #7
by Krzysiek
Replied by Krzysiek on topic Joomdle over SSL
My Moodle address is
and my Joomla address is
Code:
https://platform.mydomain.com
Code:
https://mydomain.com
Last edit: 10 years 5 months ago by Krzysiek.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
10 years 5 months ago #8
by Antonio Durán
Replied by Antonio Durán on topic Joomdle over SSL
If 3 checks fails, HTTP connection is not working.
You can try wget platform.mydomain.com from inside your server, and see what you get.
You can try wget platform.mydomain.com from inside your server, and see what you get.
Please Log in or Create an account to join the conversation.