Sebastian Schuberth
07/16/2026, 5:13 PMSebastian Schuberth
07/16/2026, 5:14 PMjavax.net.ssl.SSLHandshakeException: (certificate_unknown) PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. I know how to solve that for OkHttp, but I'd like to avoid writing engine-specific code for each target platform.Anonymike
07/16/2026, 5:52 PMAnonymike
07/16/2026, 5:53 PMSebastian Schuberth
07/16/2026, 5:58 PMAnonymike
07/16/2026, 6:05 PMexample.com {
reverse_proxy https://upstream-service:port {
transport http {
tls_insecure_skip_verify
}
}
}
Then you can use dynamic dns and have caddy get an acme cert automatically (no additional config required).hfhbd
07/16/2026, 6:10 PMSebastian Schuberth
07/16/2026, 6:13 PMSebastian Schuberth
07/16/2026, 6:15 PMAnonymike
07/16/2026, 6:26 PMAnonymike
07/16/2026, 6:26 PM