Anyone face this issue before? I'm trying to make ...
# compose-desktop
w
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
Doesn’t sound related to Compose
w
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.