mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-05 19:08:23 +00:00
The Anthropic proxy performs TLS inspection and presents certs signed by its own CA. The Ubuntu JDK (used by the Gradle wrapper) has this CA imported via /etc/ssl/certs/java/cacerts, but the JetBrains JDK that Gradle downloads for the daemon has its own isolated trust store that does not include the Anthropic CA. This caused the Gradle daemon to fail with SSL errors when trying to download plugins (e.g. foojay-resolver-convention) and dependencies through the proxy, even though the proxy credentials were correct. Fix by adding systemProp.javax.net.ssl.trustStore in the generated ~/.gradle/gradle.properties to point to Ubuntu's Java trust store (/etc/ssl/certs/java/cacerts), which already has the Anthropic CA imported. This makes the Gradle daemon use the system trust store regardless of which JDK it runs on. https://claude.ai/code/session_01761JmhtmzsagWwKw2DYyi3