Setup SAML2 with Moodle and ADFS

NKerr 1 Reputation point
2025-07-03T12:01:40.2+00:00

We are trying to configure Moodle and ADFS to use the SAML 2 login. We keep getting the following error messages

Exception - Failure Signing Data: error:25078067:DSO support routines:win32_load:could not load the shared library - SHA256

Stack trace:

·         line 197 of \auth\saml2\vendor\simplesamlphp\simplesamlphp\src\SimpleSAML\Auth\Source.php: SimpleSAML\Error\UnserializableException thrown

·         line 165 of \auth\saml2\vendor\simplesamlphp\simplesamlphp\src\SimpleSAML\Auth\Simple.php: call to SimpleSAML\Auth\Source->initLogin()

·         line 104 of \auth\saml2\vendor\simplesamlphp\simplesamlphp\src\SimpleSAML\Auth\Simple.php: call to SimpleSAML\Auth\Simple->login()

·         line 652 of \auth\saml2\classes\auth.php: call to SimpleSAML\Auth\Simple->requireAuth()

·         line 43 of \auth\saml2\login.php: call to auth_saml2\auth->saml_login()

×Dismiss this notification

Output buffer:  Warning: openssl_sign(): Supplied key param cannot be coerced into a private key in E:\Moodle\auth\saml2\vendor\robrichards\xmlseclibs\src\XMLSecurityKey.php on line 563

Windows for business | Windows Server | Directory services | Active Directory
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.