Consuming third Party API with Certificate and Key | Community
Skip to main content
New Participant
March 6, 2023
Solved

Consuming third Party API with Certificate and Key

  • March 6, 2023
  • 1 reply
  • 698 views

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

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by nitesh_kumar-1

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

1 reply

nitesh_kumar-1
nitesh_kumar-1Accepted solution
Employee
March 6, 2023

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