ValidatorException: PKIX path building failed: unable to find valid certificate path
Tahir Akram
Ranch Hand
Joined: Jul 03, 2007
Posts: 37
posted
0
Hello;
I am getting an following exception while hitting on a HTTPS URL. The strange thing is some times this exception comes and some time it works just fine.
ValidatorException: PKIX path building failed: unable to find valid certification path to requested target
I am unable to understand why it is happening. What thing on my end need to be managed for HTTPS communication to avoid this exception?
I am sharing my code with you people, if you can give me any idea about it.
The strange thing is some times this exception comes and some time it works just fine.
Sounds like a thread-safety issue, of which I do not have the talent to debug. All I can suggest is to check your code again for thread-safety issues.
Nice to meet you.
Tahir Akram
Ranch Hand
Joined: Jul 03, 2007
Posts: 37
posted
0
Thanks greg stark for your reply.
But this is itself one thread which hits that URL. This request is not originating from a web server. I wonder if I understand your point well... [ December 15, 2008: Message edited by: Tahir Akram ]