I have built a java Gradle project from Intellij (Mac OS) for API Automation. When i try to hit the API, i am getting the below error.
'sun.security.provider.certpath.SunCertPathBuilderEception: unable to find valid certification path to requested target'
I have tried to
- Add the certificate to the keystore
- Added them on Service Certficates on Intellij.
- Updated the JDK to version 19
Still my issues is not resolved.
Can anyone suggest a resolution for this?