SSO with SAML2

SSO with SAML2

by callum Wood -
Number of replies: 1

Hi all,


I have been asked to install the following plugin for a clients moodle:

https://moodle.org/plugins/auth_saml2

Unfortunately they are using a windows server. I am able to get the plugin installed onto the Moodle but when I go into the setting for the plugin and try to issue a new certificate I get the follwing error:


Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in C:\inetpub\wwwroot\moodle-development\auth\saml2\setup.php on line 82

Warning: openssl_x509_export(): cannot get cert from parameter 1 in C:\inetpub\wwwroot\moodle-development\auth\saml2\setup.php on line 83

Warning: openssl_pkey_export(): cannot get key from parameter 1 in C:\inetpub\wwwroot\moodle-development\auth\saml2\setup.php on line 84

Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in C:\inetpub\wwwroot\moodle-development\auth\saml2\setup.php on line 82

Warning: openssl_x509_export(): cannot get cert from parameter 1 in C:\inetpub\wwwroot\moodle-development\auth\saml2\setup.php on line 83

Warning: openssl_pkey_export(): cannot get key from parameter 1 in C:\inetpub\wwwroot\moodle-development\auth\saml2\setup.php on line 84

Moodle version 2.9

IIS 6

Any advice on this issue will be appreciated.


Thanks 

Average of ratings: -
In reply to callum Wood

Re: SSO with SAML2

by Daniel Miranda -

It's seems to me that is a folder permissions issue. Windows is a pain with permissions.

Is there any requirements to not use Moodle 3.0+?

I have made a plugin [1] to authenticate using SAML2 with SimpleSAMLphp.

If you are interested, I can adapt the plugin to Windows folder path.

[1] https://moodle.org/plugins/auth_saml2sso