Skip to content

fix: Fix certificate expiration check for admins not allowed to use Talk - #20504

Merged
danxuliu merged 1 commit into
mainfrom
fix-certificate-expiration-check-for-admins-not-allowed-to-use-talk
Nov 26, 2026
Merged

danxuliu merged 1 commit into
mainfrom
fix-certificate-expiration-check-for-admins-not-allowed-to-use-talk

Conversation

@danxuliu

Copy link
Copy Markdown
Member

The certificate expiration check is used from Talk administration UI, so it must be accessible for admins even if Talk usage is limited to some groups that they do not belong to.

How to test

  • Setup a TURN server with turns: support (that is, with certificates, which can be self-signed, and domain, which can be hardcoded in the /etc/hosts of the client and Nextcloud host)
    • If a self-signed certificate is used https://domain:turn-port needs to be opened in a browser tab (even if the TURN server is not using real https) to accept the certificate
  • In Nextcloud, log in as an admin
  • Create a group
  • Open Talk administration settings
  • Limit using Talk only to the created group
  • Add the TURN server and verify that candidates are found with turn: only
  • Change to turns: only

Result with this pull request

The connection can be verified

Result without this pull request

The connection can not be verified; in the Network tab of the Developer tools a request to expiration?host={domain}:{port} can be seen to have failed with 403 Forbidden and a message Can not use Talk

The certificate expiration check is used from Talk administration UI, so
it must be accessible for admins even if Talk usage is limited to some
groups that they do not belong to.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
@danxuliu danxuliu added this to the ☃️ Next Major (36) milestone Nov 26, 2026
@danxuliu danxuliu added bug feature: settings ⚙️ Settings and config related issues labels Nov 26, 2026
@danxuliu

Copy link
Copy Markdown
Member Author

/backport to stable35

@danxuliu

Copy link
Copy Markdown
Member Author

/backport to stable34 please

@danxuliu

Copy link
Copy Markdown
Member Author

/backport to stable33 please

@danxuliu
danxuliu marked this pull request as ready for review November 26, 2026 09:32
@danxuliu
danxuliu merged commit b6095ad into main Nov 26, 2026
77 checks passed
@danxuliu
danxuliu deleted the fix-certificate-expiration-check-for-admins-not-allowed-to-use-talk branch November 26, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug feature: settings ⚙️ Settings and config related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants