[Feature] Terminate TLS in front of a product in CI so the HTTPS/SSL suites can run
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start with connect-smoke.yml and the skip conditions in src/vip_tests/security/test_https.py and src/vip_tests/cross_product/test_ssl.py. Trace how the product URL and TLS settings reach httpx and Playwright, then run the affected suites against the proposed proxy setup. Done means both suites execute with certificate validation enabled, show real passes, and fail when the proxy is misconfigured.
Written by the indexing model from the issue text.
Description
Child of #409 (robust CI/CD epic). Split out of #540.
security/test_https.py and cross_product/test_ssl.py can never run in CI as things stand, because both bail out unless the product URL is HTTPS:
src/vip_tests/security/test_https.py:48 if not pc.url.startswith("https://"):
src/vip_tests/cross_product/test_ssl.py:40 if parsed.scheme != "https":
The containers the smoke workflows stand up serve plain HTTP, so adding these files as-is would produce a green run made entirely of skips — the same green-with-no-coverage pattern #421 was about. They need TLS terminating in front of a product before they mean anything.
Between them these cover
- HTTP-to-HTTPS redirect enforcement (
test_https). - Certificate validity, including expiry (
test_ssl). - That plain HTTP is not silently served alongside HTTPS.
Worth having: TLS misconfiguration is a common real-world install problem, and these are the only tests that check it.
Scope
- Terminate TLS in front of one containerized product — Connect is the natural choice, since
connect-smoke.ymlis already the richest workflow. - A reverse-proxy sidecar (Caddy or nginx) with a self-signed cert is the obvious approach; Caddy needs the least configuration for a self-signed local cert.
- The suite must be given the HTTPS URL, and
tls.insecuremust stay unset —test_ssl.py:45skips the certificate-validity check whentls.insecure = true, so setting it to swallow self-signed warnings would defeat the point. That means the CA needs to be trusted, not bypassed.
Open questions
- Self-signed with an explicitly trusted CA, or a real cert via a test domain? Self-signed plus trusted CA keeps it hermetic; the trade is that the trust plumbing has to work for both httpx and Playwright.
- Does this justify its own workflow, or a second job inside
connect-smoke.yml? A separate job keeps the fast PR gate fast. - Should the expiry assertion in
test_sslbe given a deliberately short-lived cert so the check is proven to work, rather than trivially passing on a 10-year self-signed cert?
Acceptance
test_httpsandtest_sslexecute against a real TLS endpoint in CI, with certificate validation genuinely on.- The run shows real passes, not skips — verified by confirming the tests fail when the proxy is misconfigured.
- Dominant language
- Python
- Stars
- 9
- Forks
- 1
- Avg merge
- 15h 31m
- Merged PRs (30d)
- 44
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from posit-dev/vip
-
bug team: connect team: package manager
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
posit-dev/vip#875 · 2 comments ·
Maintainers usually reply within 1 day
-
team: workbench
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
nightly-failure
Difficulty 4/5 1-2 days Newbie friendliness 25/100
Maintainers usually reply within 1 day
-
nightly-failure
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
Similar issues
-
jira: an unquoted JQL number of more than 4300 digits is a plain-text 500, where real answers 200Openfidelity
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
A JSON chat answer blocks the backend event loop for the whole RAG runPossibly taken @NopeCharon claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
The-OpenROAD-Project/ORAssistant#656 ·
Maintainers usually reply within 1 day
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorPossibly taken @jejjohnson claimed this today. Opentype:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
jejjohnson/integrix#144 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
finos/ai-governance-framework#459 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Maintainers usually reply within 1 day