Java upgrade in AEM | Community
Skip to main content
Level 3
April 20, 2021
Solved

Java upgrade in AEM

  • April 20, 2021
  • 1 reply
  • 1502 views

Hi all,

After I have upgraded java minor version, there was an error  called unable to find valid certification path. 

Do need to import any keystore to java cert?

Error

02.04.2021 05:49:24.727 *ERROR* POST /content/web/my-**********.commongateway_auth.html HTTP/1.1] @@@@ common gateway auth servlet Encountered exception : @@@@@@.@@@.SDK.Exceptions.AIFException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetStartingValidation completedJSON Request created.

  • Do I need to add any AEM jks into java cacer? Do AEM package come along with default jks?
  • As I am using third party SDK, should I add third party jks?

 

 

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 Umesh_Thakur

Yes you need to install java certificate for the same.

1 reply

Umesh_Thakur
Community Advisor
Umesh_ThakurCommunity AdvisorAccepted solution
Community Advisor
April 20, 2021

Yes you need to install java certificate for the same.

ariesyinnAuthor
Level 3
April 21, 2021

Hi @umesh_thakur

What do you mean installing java certificate for the same? I don't get it. Could you mind to elaborate more?