I am now behind a firewall that resigns every page with a different certificate. Work related. So every https access is now signed with a self(workplace)-signed-certificate.
As a result, a lot of software is broken.
Android studio lets you store certificates and use those, but gradle still complains.
Short of adding the certificate to the running javavm cacerts with keytool, is there a more gradle-specific solution? (it looks like gradle does not use android-studio's cacerts file)
I had no luck searching for it.
Gradle uses the cacerts file from the JVM, with which it was started (this may be another JVM than Android Studio uses, especially if Android Studio uses a packaged one). So just check the log output from the Gradle build, you should see at the beginning, which JVM it is using.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With