Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
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