Package: ca-certificates-java Version: 20170929~deb9u1 Severity: normal Dear Maintainer,
* What led up to the situation? Executing gradlew script leading to following error : java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty * What exactly did you do (or not do) that was effective (or ineffective)? When I ran "sudo update-ca-certificates -f" error still appeared; After running "sudo rm /etc/ssl/certs/java/cacerts" and then again "sudo update-ca-certificates -f" Error disappeared * What was the outcome of this action? resolution of the error * What outcome did you expect instead? I expected "sudo update-ca-certificates -f" to automatically update the file -- System Information: Debian Release: 9.8 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-7-amd64 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages ca-certificates-java depends on: ii ca-certificates 20161130+nmu1+deb9u1 ii libnss3 2:3.26.2-1.1+deb9u1 ii openjdk-11-jre-headless [java7-runtime-headless] 11.0.2+9-3~bpo9+1 ii openjdk-8-jre-headless [java7-runtime-headless] 8u181-b13-2~deb9u1 ca-certificates-java recommends no packages. ca-certificates-java suggests no packages. -- Configuration Files: /etc/default/cacerts [Errno 13] Permission denied: '/etc/default/cacerts' -- no debconf information