Hello I have this error in my docker PKIX path building failed: unable to find valid certification path to requested target

This is not a docker problem. This is related to java and its certificate handling.
Google for “java truststore” and I am sure you will find plenty of examples on what needs to be done.

Just to let you know that I have the same problem, but it is NOT present when I run my app outside a docker container. In other words, my app shows this error ONLY when it is inside docker container, so… I believe it is not a 100% java problem… Any idea what could it be?

Also, I have created a thread in StackOverflow about a problem like this one, but a little bit more complex, with no luck: