Update rasbperrypi and zephyr-cp to use a full Mozilla root certificate bundle #10508
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.
Change the
raspberrypi
andzephyr-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.