Fix TLS transport: remove ca_list_file that breaks transport on Docker

The ca_list_file option requires /etc/ssl/certs/ca-certificates.crt to
exist and be readable.  That file is created by the ca-certificates
package, which was only a Recommends dep (not installed via
--no-install-recommends), so the file was absent in the container image
and Asterisk rejected the entire transport-tls config with:

  ERROR: ca_list_file /etc/ssl/certs/ca-certificates.crt is either
         missing or not readable

ca_list_file is only consulted when verify_client=yes (mutual TLS /
client certificate auth).  Since we never set that option, the line
serves no purpose and is removed from both the fresh-config generator
and the upgrade-injection block.

Also add ca-certificates explicitly to the Dockerfile apt-get install
so the package is always present for any future use.

https://claude.ai/code/session_01PTzYWkePEG3tDCMSLfWrXE
This commit is contained in:
Claude
2026-02-24 21:25:44 +00:00
parent 1a3d409d50
commit 376a99b768
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -22,6 +22,7 @@ RUN echo "exit 101" > /usr/sbin/policy-rc.d && chmod +x /usr/sbin/policy-rc.d &&
asterisk \
asterisk-core-sounds-en-gsm \
asterisk-modules \
ca-certificates \
openssl \
curl \
wget \