Wrong directory for key file on windows
-
I’m getting an error when I try to log in with SAML enabled. I’ve uploaded the cert and key files via the admin interface, yet it seems the plugin is using a wrong directory for these when initializing simplesamlphp. Any ideas where the path to the file is generated in the plugin code so I can troubleshoot?
It seems to be generating a location like <folder of plugin>/saml/cert/<wordpress uploads dir>/<full path to place where uploaded keys are>
Full error log:
Fatal error: Uncaught exception 'SimpleSAML_Error_UnserializableException' with message 'Unable to load private key from file "E:\Work\Server\www\418reloaded\wp-content\plugins\saml-20-single-sign-on\saml/cert/E:\Work\Server\www\418reloaded/wp-content/uploads/saml-20-single-sign-on/etc/certs/1/1.key"' in E:\Work\Server\www\418reloaded\wp-content\plugins\saml-20-single-sign-on\saml\lib\SimpleSAML\Auth\Default.php:62 Stack trace: #0 E:\Work\Server\www\418reloaded\wp-content\plugins\saml-20-single-sign-on\saml\lib\SimpleSAML\Auth\Simple.php(137): SimpleSAML_Auth_Default::initLogin('1', 'https://localhos...', NULL, Array) #1 E:\Work\Server\www\418reloaded\wp-content\plugins\saml-20-single-sign-on\saml\lib\SimpleSAML\Auth\Simple.php(80): SimpleSAML_Auth_Simple->login(Array) #2 E:\Work\Server\www\418reloaded\wp-content\plugins\saml-20-single-sign-on\lib\classes\saml_client.php(51): SimpleSAML_Auth_Simple->requireAuth(Array) #3 [internal function]: SAML_Client->authenticate(NULL) #4 E:\Work\Server\www\418reloaded\wp-includes\plug in E:\Work\Server\www\418reloaded\wp-content\plugins\saml-20-single-sign-on\saml\lib\SimpleSAML\Auth\Default.php on line 62
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Wrong directory for key file on windows’ is closed to new replies.