Spring tool suite- SunCertPathBuilderException: unable to find valid certification path to requested target

shivam gupta picture shivam gupta · Jun 8, 2018 · Viewed 37.3k times · Source

I am working on STS and while creating a new spring-boot project, it shows following error:

 SunCertPathBuilderException: unable to find valid certification path to requested target

since it access https://start.spring.io as a service URL.

I am working in a corporate network and they have their own certificates and security rules. I looked into web but could not find any clear solution for STS. How should I add certification path in STS for given URL. Any help is appreciated.

Answer

sundar.sat84 picture sundar.sat84 · Mar 7, 2019

I encountered the same problem and tried this: Window -> Preferences -> Network Connections Change mode to Manual

It works fine now.