Add certificate support for urlopen() calls.

Review Request #14920 — Created March 17, 2026 and updated

Information

Review Board
release-7.1.x

Reviewers

This updates most urlopen() call in the codebase to take in state
from the Certificate Manager, giving them support for managed
certificate verification and mTLS authentication.

By default, urlopen() behaves as it always has, but if there are
custom certificates or CAs configured for the server or Local Site,
they'll automatically pick them up.

The following call sites have been updated:

  • Security checks
  • rb-site website communication
  • WebHooks
  • Common SCMTool HTTP code

Hosting services have not been updated in this change. That's a larger
piece of work, and is split off into its own change.

Unit tests pass.

Summary ID
Add certificate support for urlopen() calls.
This updates most `urlopen()` call in the codebase to take in state from the Certificate Manager, giving them support for managed certificate verification and mTLS authentication. By default, `urlopen()` behaves as it always has, but if there are custom certificates or CAs configured for the server or Local Site, they'll automatically pick them up. The following call sites have been updated: * Security checks * rb-site website communication * WebHooks * Common SCMTool HTTP code Hosting services have not been updated in this change. That's a larger piece of work, and is split off into its own change.
46d7cfd77d037f8b1739604061979a534878026e
Checks run (2 succeeded)
flake8 passed.
JSHint passed.
david
  1. Ship It!
  2.