I'm doing a POC to integrate elastic cloud with apereo using SAML2 protocol.
Here is my service registry configuration:
{
"@class" : "org.apereo.cas.support.saml.services.SamlRegisteredService",
"name" : "ElasticsearchSAMLService",
"id" : 2,
"evaluationOrder" : 2,
"metadataLocation" : "file:/root/cas-overlay-template/saml-metadata/elasticsearch.xml",
}
I'm able to redirect from kibana to apereo login page. However, after authenticate myself, I got an 500 Internal server error page.
Here is the application log:
2021-07-23 11:39:49,831 INFO [org.apereo.cas.support.saml.services.idp.metadata.SamlRegisteredServiceServiceProviderMetadataFacade] - <Resolved metadata chain from [file:/root/cas-overlay-template/saml-metadata/elasticsearch.xml]. Filtering the chain by entity ID [
https://yyy.kb.ap-northeast-1.aws.found.io:9243/]>
2021-07-23 11:39:49,834 INFO [org.apereo.cas.support.saml.services.idp.metadata.SamlRegisteredServiceServiceProviderMetadataFacade] - <Resolved metadata chain from [file:/root/cas-overlay-template/saml-metadata/elasticsearch.xml]. Filtering the chain by entity ID [
https://yyy.kb.ap-northeast-1.aws.found.io:9243/]>
2021-07-23 11:39:49,886 ERROR [org.apereo.cas.support.saml.web.idp.profile.builders.enc.SamlIdPObjectSigner] - <Unable to locate any signing credentials for service [ElasticsearchSAMLService]>
2021-07-23 11:39:49,889 INFO [org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN
=============================================================
WHO: audit:unknown
WHAT: Unable to locate signing credentials
ACTION: SAML2_RESPONSE_CREATED
APPLICATION: CAS
WHEN: Fri Jul 23 11:39:49 CST 2021
CLIENT IP ADDRESS: 127.0.0.1
SERVER IP ADDRESS: 127.0.0.1
I was wondering what did I do wrong. I pretty sure the file path is correct.