Skip to content

notify-push: trust the CAs from NEXTCLOUD_TRUSTED_CACERTS_DIR - #8816

Open
h4fnp wants to merge 1 commit into
nextcloud:mainfrom
h4fnp:notify-push-trusted-cacerts
Open

h4fnp wants to merge 1 commit into
nextcloud:mainfrom
h4fnp:notify-push-trusted-cacerts

Conversation

@h4fnp

@h4fnp h4fnp commented Oct 11, 2026

Copy link
Copy Markdown

The push server reaches Nextcloud at its public URL. Behind a reverse proxy that terminates TLS with a private CA, it rejects the certificate (UnknownIssuer) and the self-test fails at "push server can connect to the Nextcloud server", so no client can authenticate.

Mount the user-provided CA directory into the notify-push container as the Nextcloud and Talk containers already do. The container is read-only, so start.sh builds a bundle from the system store and the mounted certificates in /tmp (now a tmpfs) and points the TLS stack at it via SSL_CERT_FILE, the same way the Talk container does.

Assisted-by: ClaudeCode:claude-fable-5-1

Summary

  • The PR was tested and verified that it works locally
  • Or will be tested after merge on a dedicated test instance (available for maintainers)
  • Sign-off message is added to all commits
  • Tests (playwright if possible) are included
  • Screenshots before/after for front-end changes
  • Documentation has been updated or is not required
  • Labels added where applicable (ex: bug/enhancement, 3. to review, feature component)
  • Milestone next added

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

The push server reaches Nextcloud at its public URL. Behind a reverse
proxy that terminates TLS with a private CA, it rejects the certificate
(UnknownIssuer) and the self-test fails at "push server can connect to
the Nextcloud server", so no client can authenticate.

Mount the user-provided CA directory into the notify-push container as
the Nextcloud and Talk containers already do. The container is read-only,
so start.sh builds a bundle from the system store and the mounted
certificates in /tmp (now a tmpfs) and points the TLS stack at it via
SSL_CERT_FILE, the same way the Talk container does.

Assisted-by: ClaudeCode:claude-fable-5-1
Signed-off-by: Tobias Eggert <dev@h4fnp.blog>
Comment thread Containers/notify-push/start.sh
Comment thread php/containers.json
@szaimen szaimen added 3. to review Waiting for reviews enhancement New feature or request labels Oct 12, 2026
@szaimen szaimen added this to the next milestone Oct 12, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NEXTCLOUD_TRUSTED_CACERTS_DIR - Not mounted in notify_push container

2 participants