fix: install ca-certificates in reth runtime image for HTTPS sequencer - #40
Conversation
ihooni
left a comment
There was a problem hiding this comment.
Thanks @crazywriter1! This mirrors the existing op-node ca-certificates fix (be8e684), and the diagnosis is clear: the ubuntu:noble runtime stage ships no CA bundle, so op-reth's HTTPS sequencer client fails to initialize. Consistent with how we handle the op-node image. LGTM 🙏
Thanks for the review sir. 🙏 |
|
Could you rebase onto the latest |
3985da0 to
3f117bb
Compare
Done. |
|
Thanks for the rebase! The new commit |
3f117bb to
6d81c56
Compare
Re-signed the commit with SSH signing. Ready to merge. Thanks sir. @ihooni |
Summary
Install
ca-certificatesin therethruntime image soop-rethcan initialize its HTTPS sequencer client.The final
rethimage is based onubuntu:noble, which does not include a default CA bundle. At runtime,op-rethfails when connecting to the configured sequencer endpoint.Problem
Without a system CA bundle,
op-rethexits during startup with: Failed to init reqwest client for sequencer: builder error unexpected error: No CA certificates were loaded from the systemFix
Mirror the existing
op-nodeimage pattern and installca-certificatesin therethruntime stage.Test plan
ubuntu:nobleimage has no default CA bundledocker compose up -d executionca-certificates, TLS handshake tosepolia-sequencer.giwa.iosucceeds/etc/ssl/certs/ca-certificates.crtdocker compose up -d executionno longer fails with missing CA certificates