NextcloudでLog Readerアプリをインストールしてログを確認したところ次のエラーが記録されていました。
致命的なエラー user_saml Unable to extract public key
致命的なエラー user_saml invalid_response
エラー PHP Error: openssl_x509_export(): cannot get cert from parameter 1 at /home/[サーバーのパス]/apps/user_saml/3rdparty/vendor/robrichards/xmlseclibs/src/XMLSecurityKey.php#366
[PHP] エラー: Error: openssl_x509_export(): cannot get cert from parameter 1 at /home/[サーバーのパス]/apps/user_saml/3rdparty/vendor/robrichards/xmlseclibs/src/XMLSecurityKey.php#366 at <>
- <>
OC\Log\ErrorHandler::onError(2, "openssl_x509_ex ... 1", "/home/ ... p", 366, ["-----BEGIN CER ... l])
- /home/[サーバーのパス]/apps/user_saml/3rdparty/vendor/robrichards/xmlseclibs/src/XMLSecurityKey.php line 366
openssl_x509_export(false, null)
- /home/[サーバーのパス]/apps/user_saml/3rdparty/vendor/onelogin/php-saml/src/Saml2/Utils.php line 1501
RobRichards\XMLSecLibs\XMLSecurityKey->loadKey("-----BEGIN CERT ... n", false, true)
- /home/[サーバーのパス]/apps/user_saml/3rdparty/vendor/onelogin/php-saml/src/Saml2/Response.php line 440
OneLogin\Saml2\Utils::validateSign(["DOMDocument"], "-----BEGIN CERT ... n", "", "sha1", "/samlp:Response ... e", ["-----BEGIN CER ... "])
- /home/[サーバーのパス]/apps/user_saml/3rdparty/vendor/onelogin/php-saml/src/Saml2/Auth.php line 238
OneLogin\Saml2\Response->isValid("ONELOGIN_6d9e19 ... b")
- /home/[サーバーのパス]/apps/user_saml/lib/Controller/SAMLController.php line 374
OneLogin\Saml2\Auth->processResponse("ONELOGIN_6d9e19 ... b")
- /home/[サーバーのパス]/apps/user_saml/lib/Helper/TXmlHelper.php line 38
OCA\User_SAML\Controller\SAMLController->OCA\User_SAML\Controller{closure}("*** sensitive parameters replaced ***")
- /home/[サーバーのパス]/apps/user_saml/lib/Controller/SAMLController.php line 375
OCA\User_SAML\Controller\SAMLController->callWithXmlEntityLoader(["Closure"])
- /home/[サーバーのパス]/lib/private/AppFramework/Http/Dispatcher.php line 225
OCA\User_SAML\Controller\SAMLController->assertionConsumerService()
- /home/[サーバーのパス]/lib/private/AppFramework/Http/Dispatcher.php line 133
OC\AppFramework\Http\Dispatcher->executeController(["OCA\User_SAML ... "], "assertionConsumerService")
- /home/[サーバーのパス]/lib/private/AppFramework/App.php line 172
OC\AppFramework\Http\Dispatcher->dispatch(["OCA\User_SAML ... "], "assertionConsumerService")
- /home/[サーバーのパス]/lib/private/Route/Router.php line 298
OC\AppFramework\App::main("OCA\User_SAML\ ... r", "assertionConsumerService", ["OC\AppFramewo ... "], ["user_saml.SAML ... "])
- /home/[サーバーのパス]/lib/base.php line 1053
OC\Route\Router->match("/apps/user_saml/saml/acs")
- /home/[サーバーのパス]/index.php line 36
OC::handleRequest()
POST /2024/index.php/apps/user_saml/saml/acs
from xxx.xxx.xxx.xxx at 2024-06-17T04:43:58+00:00
エラー PHP Error: openssl_x509_read(): supplied parameter cannot be coerced into an X509 certificate! at /home/[サーバーのパス]/apps/user_saml/3rdparty/vendor/robrichards/xmlseclibs/src/XMLSecurityKey.php#365
[PHP] エラー: Error: openssl_x509_read(): supplied parameter cannot be coerced into an X509 certificate! at /home/[サーバーのパス]/apps/user_saml/3rdparty/vendor/robrichards/xmlseclibs/src/XMLSecurityKey.php#365 at <>
- <>
OC\Log\ErrorHandler::onError(2, "openssl_x509_re ... !", "/home/... p", 365, ["-----BEGIN CER ... e])
- /home/[サーバーのパス]/apps/user_saml/3rdparty/vendor/robrichards/xmlseclibs/src/XMLSecurityKey.php line 365
openssl_x509_read("-----BEGIN CERT ... n")
- /home/[サーバーのパス]/apps/user_saml/3rdparty/vendor/onelogin/php-saml/src/Saml2/Utils.php line 1501
RobRichards\XMLSecLibs\XMLSecurityKey->loadKey("-----BEGIN CERT ... n", false, true)
- /home/[サーバーのパス]/apps/user_saml/3rdparty/vendor/onelogin/php-saml/src/Saml2/Response.php line 440
OneLogin\Saml2\Utils::validateSign(["DOMDocument"], "-----BEGIN CERT ... n", "", "sha1", "/samlp:Response ... e", ["-----BEGIN CER ... "])
- /home/[サーバーのパス]/apps/user_saml/3rdparty/vendor/onelogin/php-saml/src/Saml2/Auth.php line 238
OneLogin\Saml2\Response->isValid("ONELOGIN_6d9e19 ... b")
- /home/[サーバーのパス]/apps/user_saml/lib/Controller/SAMLController.php line 374
OneLogin\Saml2\Auth->processResponse("ONELOGIN_6d9e19 ... b")
- /home/[サーバーのパス]/apps/user_saml/lib/Helper/TXmlHelper.php line 38
OCA\User_SAML\Controller\SAMLController->OCA\User_SAML\Controller{closure}("*** sensitive parameters replaced ***")
- /home/[サーバーのパス]/apps/user_saml/lib/Controller/SAMLController.php line 375
OCA\User_SAML\Controller\SAMLController->callWithXmlEntityLoader(["Closure"])
- /home/[サーバーのパス]/lib/private/AppFramework/Http/Dispatcher.php line 225
OCA\User_SAML\Controller\SAMLController->assertionConsumerService()
- /home/[サーバーのパス]/lib/private/AppFramework/Http/Dispatcher.php line 133
OC\AppFramework\Http\Dispatcher->executeController(["OCA\User_SAML ... "], "assertionConsumerService")
- /home/[サーバーのパス]/lib/private/AppFramework/App.php line 172
OC\AppFramework\Http\Dispatcher->dispatch(["OCA\User_SAML ... "], "assertionConsumerService")
- /home/[サーバーのパス]/lib/private/Route/Router.php line 298
OC\AppFramework\App::main("OCA\User_SAML\ ... r", "assertionConsumerService", ["OC\AppFramewo ... "], ["user_saml.SAML ... "])
- /home/[サーバーのパス]/lib/base.php line 1053
OC\Route\Router->match("/apps/user_saml/saml/acs")
- /home/[サーバーのパス]/index.php line 36
OC::handleRequest()
POST /2024/index.php/apps/user_saml/saml/acs
from xxx.xxx.xxx.xxx at 2024-06-17T04:43:58+00:00