SSL implementation on Moodle

SSL implementation on Moodle

by Syed Ali -
Number of replies: 7
I replace all non https url with https by using search and replace tool.

There is an strange issue. Whenever a user tries to loign, if the password doesn't mach a record in the manual user database table, there is supposed to be a redirect to https://domian-name.com/auth/shibboleth/index.php

What is happening instead, though, is a redirect to the following URL https://domian-name.comauth/shibboleth/index.php

It looks as though there is a slash missing between “com” and “auth”.  I scanned the database for this setting but couldn’t find anything.

OS: RHEL 7.3

Moodle 3.1

Average of ratings: -
In reply to Syed Ali

Re: SSL implementation on Moodle

by Matteo Scaramuccia -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi Syed,
that URL cannot be found in the Moodle database but in the Moodle code.

How did you configure the URL in your config.php file?

HTH,
Matteo

In reply to Matteo Scaramuccia

Re: SSL implementation on Moodle

by Syed Ali -

I still have same issue.

In reply to Syed Ali

Re: SSL implementation on Moodle

by AL Rachels -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Have you looked at Site administration > Server > HTTP, for the Use slash arguments setting. See if changing it helps.

In reply to AL Rachels

Re: SSL implementation on Moodle

by Syed Ali -

It is there and enable. This problem started after I change site from http to https.

In reply to Syed Ali

Re: SSL implementation on Moodle

by Ken Task -
Picture of Particularly helpful Moodlers
Check the config of shilbbolth server/service (probably on the server itself)  as well as any 'call back' URL for the moodle server the IdP server might have for the moodle.


'spirit of sharing', Ken


In reply to Ken Task

Re: SSL implementation on Moodle

by Syed Ali -

I need to check call back URL. I don't think I have control on that URL.