Skip to content

chore: drop the baked-in static MITM CA from samples - #107

Merged
slayerjain merged 1 commit into
mainfrom
fix/no-baked-ca
Oct 5, 2026
Merged

slayerjain merged 1 commit into
mainfrom
fix/no-baked-ca

Conversation

@slayerjain

Copy link
Copy Markdown
Member

fastapi-twilio and flask-redis baked in Keploy's static MITM ca.crt / setup_ca.sh from a raw GitHub URL (fastapi-twilio in its Dockerfile CMD; flask-redis in its README and a dead Dockerfile block). That CA's private key was committed to the public keploy repo.

Keploy now generates its MITM CA per run and injects the trust environment variables automatically (keploy/keploy#4682). Removed the ADD/curl of ca.crt+setup_ca.sh and the source setup_ca.sh start wrapper; kept ca-certificates for base public roots. flask-redis's README now notes trust is automatic.

Safe to merge independently — the retired URL serves an inert placeholder, so un-migrated images still build.

Keploy generates its MITM CA per run and injects the trust env vars
automatically, so fastapi-twilio and flask-redis no longer need to ADD/download
ca.crt and setup_ca.sh (the static CA whose key was public) or source it at
start. Keeps ca-certificates for base public roots.

Signed-off-by: slayerjain <[email protected]>
@slayerjain
slayerjain merged commit 639bc47 into main Oct 5, 2026
1 check passed
@slayerjain
slayerjain deleted the fix/no-baked-ca branch October 5, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant