cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Ent v4.2.1 and Validator Exception

nenad982
Champ on-the-rise
Champ on-the-rise
Hi all,

I installed my customization on Alfresco Ent v4.2.1 and when I called my custom script I received following exception:


"message":"03240110 sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"


So it seams that my controller is not executed at all, because I have line at the beginning of the controller that logs start of execution.

Does somebody had experience with this problem and how it can be solved?

Thanks…
5 REPLIES 5

kaynezhang
World-Class Innovator
World-Class Innovator
It is a certificate  problem,the server dose not trust your cert .
You can ignore the certificate,but this will make your app vulnerable.
Or you can try adding the cert to your java store as a trusted cert.

HI kazneyhang,

thanks for your answer. Could you please guide me how to add this certificate to my java store?

Thanks a lot

kaynezhang
World-Class Innovator
World-Class Innovator
Import the certificate into a Java Trusted Store. , This site may be helpful
http://docs.alfresco.com/4.2/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Fauth-example-o...

joaolm
Champ in-the-making
Champ in-the-making
Hi,
The link is broken.
Can you verify?

Thanks!

kaynezhang
World-Class Innovator
World-Class Innovator
The link is just a reference on how to "import a certificate into java trusted store",you can just google with keyword "import certificate java trusted store"