What if a successful deploy changed nothing? After eMudhra’s compromised certificate intermediates came to light, Charlie Forêt found that his Phoenix app relied on two separate TLS trust stores: Debian’s operating-system bundle for Req and Mint, and a bundle compiled into certifi for hackney. A routine rebuild had also reused a cached image layer, leaving the OS bundle stale. The result was that Stripe, S3, and web push remained exposed through hackney even after the apparent fix.
Forêt traces the risks and the work needed to close them: force a fresh certificate-package install, remove suspect roots and verify the filtered bundle, replace hackney clients with Req where possible, and override hackney’s chain-validation behavior for Stripe. He also adds CI checks, boot-time alerts, and tests designed to catch regressions. The practical lesson is that changing one trust store—or merely deploying again—doesn’t secure every outbound TLS connection.
continue reading oncharlieforet.com
⚠️ This post links to an external website. ⚠️
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.