- Package:
- apt-transport-https
- Source:
- apt-transport-https
- Submitter:
- Gregor Jasny
- Date:
- 2025-08-29 16:13:01 UTC
- Severity:
- normal
Hello, there seems to be a regression in Trixie (probably since the switch to OpenSSL) in the CAInfo handling. I created a reproducer here: https://salsa.debian.org/gjasny-guest/debian-apt-cafile Copy for the archive: --- FROM debian:13 ENV DEBIAN_FRONTEND=noninteractive RUN sed -i'' -e 's,http://deb.debian.org,https://debian.inf.tu-dresden.de,g' /etc/apt/sources.list.d/debian.sources ADD rootca.pem /etc/rootca.pem RUN echo 'Acquire::https::debian.inf.tu-dresden.de::CAInfo "/etc/rootca.pem";' > /etc/apt/apt.conf.d/99-root-ca RUN apt-get update RUN apt-get install -y ca-certificates --- It works with Debian 12 and fails with Debian 13. (I need that functionality for a company internal APT repository, not debian.inf.tu-dresden.de.) Could please take a look what's happening? Thanks, Gregor
The file is being loaded by SSL_CTX_load_verify_file(), the rest is OpenSSL's doing. I do not have further information. Please note that we generally do not ship stable updates for APT, so any fix will only be available in Debian 14 - please test your use cases before a release to ensure you can use the next release. (release team approval for stable updates is hard to get)
Hello, thanks for the link to SSL_CTX_load_verify_file. That made me try plain "openssl s_client". That way I figured out that the certificate I used was not the root certificate but the first one that "openssl s_client -showcerts" shows. With the proper root one it works in all apt versions. Thanks, Gregor