javaspringspring-bootspring-tool-suite

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


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.


Solution

  • Try http instead of https in the URL http://start.spring.io

    The following error will be resolved "SunCertPathBuilderException: unable to find valid certification path to requested target"

    enter image description here

    enter image description here