SAML2 exception: Failed to decrypt XML element.

SAML2 exception: Failed to decrypt XML element.

by Liviu Popa -
Number of replies: 0

Hello everyone,

I am trying to implement SSO via our company's internal Microsoft ADFS server. I have installed this plugin and configured it as per the attached screenshots. I am always getting error message "SAML2 exception: Failed to decrypt XML element" when trying to test the SSO settings.

Some background about our environment:

- Moodle is running on the latest version of WAMP Server

- both ADFS and Moodle are upgraded to the latest versions

- all other applications work with the same ADFS server just fine

- the SP metadata from Moodle has been whitelisted on the ADFS server

- after installing the plugin, it says is should auto-generate the Moodle SSO cert, but it does not; I had to manually generate the certs using OpenSSL and put them in the right folder

- the plugin does not generate any error logs at all; file simplesamlphp.log is nowhere to be found


Anyone else encountered this issue before?


Many thanks,

Liviu

Attachment ADFS plugin 1.jpg
Attachment ADFS plugin 2.jpg
Average of ratings: -