Open
Conversation
Introduce a proxy-cert helper to capture the proxy CA and a shared podman-proxy-flags.sh script so every podman build/run inherits proxy settings and mounts the captured certificate.
ff5c653 to
574124c
Compare
- collapse certificate logging so every proxy command emits subject, issuer, validity window, and SHA256 fingerprint - expose `just proxy-setup/start/stop/status/smoke` recipes to mirror controller subcommands - default the proxy CA subject to `/CN=$(hostname)/O=$(hostname)/OU=$(basename "$PWD")/C=AQ` and undo earlier subject parsing - try graceful shutdown via squidclient before stopping the container - drop the separate proxy quickstart doc after review - rename websocket helper to proxy-get-ca and keep README references up to date
574124c to
c54f9e8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Builds on #142 but now includes a CA/squid server that will cache all http / https traffic for our Containerfile builds. Ideally these builds can be rebuilt offline, making way for very interesting and extremely fast iteration of ublue images.
The new Proxy section of the Justfile:
satishweb Squid container, and prints certificate/fingerprint details for every action
proxy-get-ca) so users can drive the proxy without touching raw podman or openssl
--subject/--force, and capture upstream proxy certificates into cache/https-proxy-ca.pem
artefacts
Testing
With that last command you should see the proxy working with our existing, unchanged Justfile.
To test put the following in your Containerfile:
It's a 100MB file, so first time should take a moment, subsequent times should be nearly instant. Even i f you us it in another part of your Containerfile or build process.