SAML 2 SSO questions
Dear experts,
I'm following this tutorial to integrate SAML with AEM. After following all those steps, when I hit the url: http://10.141.21.140:4502 then AEM redirects to "https://10.141.21.140:8443/idp/profile/SAML2/POST/SSO" and error message was displayed in the browser as "SAML 2 SSO profile is not configured for relying party http://10.141.21.140" and error.log displays as -
GET / HTTP/1.1] org.apache.sling.auth.core.impl.SlingAuthenticator getAnonymousResolver: Anonymous access not allowed by configuration - requesting credentials
GET / HTTP/1.1] com.adobe.granite.auth.saml.SamlAuthenticationHandler Private key of SP not provided: Cannot sign Authn request.
I have few basic doubts due to lack of knowledge :(
1. Do I need to set up Service provider (SP) seperatly first or Tomact instance will be treated as both service provider and identity provider?
When I downloaded the IdP files then I see that $SAML_IDP_HOME/conf/relying-party.xml has the entry
<rp:RelyingParty id="www.blogsaml.com"
provider="http://www.blogsaml.com"
defaultSigningCredentialRef="IdPCredential" .......... </rp:RelyingParty>
Is http://www.blogsaml.com considered as Service Provider here?
2. One of the point is mentioned as
- Add below meta data file at <SAML_IDP_HOME>/metadata/adobecq.xml
Which certificate it is referred? Is it <SAML_IDP_HOME>/credentials/idp.crt or the certificate which is referred by Tomcat?
Looking forward for you valuable help! Thank you
Sam
