Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Creating a trust store - SAML 2.0 Authentication

Avatar

Level 3

Hi ,

Integrating SAML with Adobe Experience Manager

I am going through this tutorial to setup SAML 2.0 Authentication but not able to see create trust store in account settings.

1571286_pastedImage_1.png

Creating a trust store

To create a Trust Store, perform these tasks:

1. Go to: http://localhost:4503/crx/de/index.jsp and login with admin credentials.

2. Go to: http://localhost:4503/libs/granite/security/content/useradmin.html.

3. Click on any of the users in the list. (for demo purposes, select the administrator user).

4. Go under Account Settings and press the Create TrustStore link.

5. Enter the password for the TrustStore and click Save. For the demo purpose, you can use admin as the password.

After creating the trust store, you need the IdP certificate so that the SAML Request and Response can be validated against that certificate. This would be provided by the IdP provider. However, you can use the certificate added into the zip for demo purpose.

1 Accepted Solution

Avatar

Correct answer by
Level 7

Hi,

In AEM 6.4 instead of setting the TrustStore in the User Settings you can set a global TrustStore by navigating to Tools > Security > TrustStore or go to

http://<host>:<port>/libs/granite/security/content/truststore.html in your instance.

Here you can set the TrustStore username and password and upload the certificate file as you would do for 6.3 (as directed in the Adobe documentation) and you can obtain the certificate alias. You can then follow the steps as given in the document i.e. configuring the required fields in the User Security settings for setting the Keystore and further steps as per your requirement.

Here are the links that can help you with the steps after creating the TrustStore:

1.https://helpx.adobe.com/experience-manager/6-4/sites/administering/using/saml-2-0-authenticationhand...

2.https://helpx.adobe.com/experience-manager/using/aem63_saml.html

Here is a screenshot for better understanding.

1576192_pastedImage_11.png

Regards,

Techaspect Solutions

View solution in original post

10 Replies

Avatar

Level 10

WHat version of AEM are you using?

On 6.3 - this UI appears...

TS.png

Avatar

Correct answer by
Level 7

Hi,

In AEM 6.4 instead of setting the TrustStore in the User Settings you can set a global TrustStore by navigating to Tools > Security > TrustStore or go to

http://<host>:<port>/libs/granite/security/content/truststore.html in your instance.

Here you can set the TrustStore username and password and upload the certificate file as you would do for 6.3 (as directed in the Adobe documentation) and you can obtain the certificate alias. You can then follow the steps as given in the document i.e. configuring the required fields in the User Security settings for setting the Keystore and further steps as per your requirement.

Here are the links that can help you with the steps after creating the TrustStore:

1.https://helpx.adobe.com/experience-manager/6-4/sites/administering/using/saml-2-0-authenticationhand...

2.https://helpx.adobe.com/experience-manager/using/aem63_saml.html

Here is a screenshot for better understanding.

1576192_pastedImage_11.png

Regards,

Techaspect Solutions

Avatar

Level 3

Hi Techaspect Solutions​,

Do you have any proper document to configure saml with AEM 6.4.I am going through this link but there is not enough configurations.I have created idp settings https://www.ssocircle.com/en/

SAML 2.0 Authentication Handler

Avatar

Level 3

Hi Techaspect Solutionssmacdonald2008

Need help on this !

I am trying this  for author port 4502 but still not getting success

step 1 : SAML 2.0  AUTHENTICATION HANDLER CONFIGURATIONS

Untitled.png

1579143_pastedImage_3.png

step 2 :

Apache Sling Referrer Filter :

1579144_pastedImage_4.png

step  3 :

Creating trust store by adding public certificate file

cert.png

Step 4 is of adding key store private key and certificate chain(No information from where it is available) ?

Now for IDP provider settings I am using SSO circle

https://idp.ssocircle.com/sso/hos/SelfCare.jsp

1.Created profile

2. Create meta data

1579150_pastedImage_12.png

3.Adding metadata

1579154_pastedImage_13.png

4.Submit

1579155_pastedImage_14.png

5. I have configured logs as well

Avatar

Level 3

smacdonald2008

Oh ! I forgot to logout from ID provider "SSO Circle". When I logged out my redirection is working fine(aem we-retail page => sso circle login page) but when I enter SSO site credential I am redirecting to aem path which I have mentioned in provider configuration as http://localhost:4502/projects.html/content/projects but again this needs username and password as "admin" .So how to achieve this .Should I remove login path from "Apache sling authentication service".

Avatar

Level 2

Hi all,

We are upgrading from 6.2 to 6.5 and I'm setting up SSO in 6.5.

In  libs/granite/security/content/truststore.html, I'm clicking "Add Certificate from CER file" and uploading our IPD CERT  and mapping Cert to admin user.

However I'm not seeing an option to enter the password here.

Also I tried change Truststore password, but i'm not able to.

Thanks.