Skip to content

Update rasbperrypi and zephyr-cp to use a full Mozilla root certificate bundle #10508

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 24, 2025

Conversation

dhalbert
Copy link
Collaborator

@dhalbert dhalbert commented Jul 23, 2025

Change the raspberrypi and zephyr-cp wifi builds to use the full Mozilla certificate bundle from https://github.com/adafruit/certificates. Now all our wifi builds use the full bundle.

This update required adafruit/certificates#10 to work. When i was testing this, the RP2 builds mysteriously did not work for an https://api.github.com HTTPS fetch. This was because the Comodo "AAA Certificate Sevices" root had recently been removed from the Mozilla bundle. For most hosts this is fine, because there was a cross-signed certificate in the api.github.com chain that used another root certificate. But mbedtls does not inherently support cross-signing, so the Comodo certificate had to be put back.

This was not an existing problem on the espressif builds, because the complete Mozilla bundle provided by ESP-IDF and used now on those builds still has that certificate. For background on Espressif's own diagnosis and fix of this same problem, see:

Also note ESP-IDF recently implemented cross-signing support in their master for their upcoming v6.0 release:
espressif/esp-idf@cabb500.

@dhalbert dhalbert requested a review from tannewt July 23, 2025 21:41
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question that should probably be answered in a code comment.

@dhalbert dhalbert force-pushed the rp2-full-cert-bundle branch from 9229847 to ed7ba6f Compare July 24, 2025 17:43
@dhalbert dhalbert force-pushed the rp2-full-cert-bundle branch from ed7ba6f to edddfff Compare July 24, 2025 19:19
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@tannewt tannewt merged commit 707e621 into adafruit:main Jul 24, 2025
20 checks passed
@dhalbert dhalbert deleted the rp2-full-cert-bundle branch July 24, 2025 22:44
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.

Investigate using full root certificate bundle for zephyr-cp Investigate using full Mozilla root certificate bundle for RP2 wifi
2 participants