Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

Consuming third Party API with Certificate and Key

Avatar

Level 3

Hi All,

 

We are trying to consume third Party API with AEM .

Third party API has a Certificate and a Key for handshake.

 

What is the correct Process to add Certificate and Key in AEM so that we can handshake using Java HttpClient.

 

Thanks

 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi @Sb2512 ,

 

There are two possible options:-

 

1.) Adding a Java keystore to the git repo, and then reading it in your Java code.
2.) Manually add certificates through the AEM TrustStore web interface, and refer it in your Code.

 

Hope that helps!

 

Regards,

Nitesh

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

Hi @Sb2512 ,

 

There are two possible options:-

 

1.) Adding a Java keystore to the git repo, and then reading it in your Java code.
2.) Manually add certificates through the AEM TrustStore web interface, and refer it in your Code.

 

Hope that helps!

 

Regards,

Nitesh