I'm seeing the same problem with a pbuilder for Bookworm: a build dependency on default-jdk has a good chance to trigger this error. The only workaround I can think of is "apt install"ing "ca-certificates-java" in a D hook.
Any additional workaround/fix would be appreciated. Best, Steffen -- Steffen Grunewald, Cluster Administrator Max Planck Institute for Gravitational Physics (Albert Einstein Institute) Am Mühlenberg 1 * D-14476 Potsdam-Golm * Germany ~~~ Fon: +49-331-567 7274 Mail: steffen.grunewald(at)aei.mpg.de ~~~