Anyone face this issue before? I'm trying to make an api call to my locally hosted server with a self-signed cert... but i get this error.. it works fine in
compose-web
locally..
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
a
Alexander Maryanovsky
04/21/2025, 6:30 PM
Doesn’t sound related to Compose
w
William
04/22/2025, 1:23 AM
Yep, it's not. I just realised that 😅 sorry!
But anyway, for whoever stumbled across this issue:
Jvm targets
Since it's self signed cert for local development, you will have to add that cert into your jdk cacert, make sure it's the same jdk used in your IDE environment that launches the desktop app.
Otherwise your desktop app will just throw an exception.
After that just restart your machine.