Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
README.md | D | 03-May-2024 | 747 | 22 | 14 | |
generate_sslroots.py | D | 03-May-2024 | 8.1 KiB | 230 | 183 |
README.md
1# Generate rtc_base/ssl_roots.h 2 3This directory contains a script to generate the content of 4[rtc_base/ssl_roots.h][ssl-roots-header], to update the SSL roots shipped 5by WebRTC follow this instructions: 6 71. Download roots.pem from [pki.goog][pki-goog] or [curl.se][mozilla-cacert] 8 92. Launch the script: 10 11``` 12$ vpython3 tools_webrtc/sslroots/generate_sslroots.py <the pem file> 13``` 14 153. Step 2 should have generated an ssl_roots.h file right next to the pem file. 16 174. Overwrite rtc_base/ssl_roots.h with the newly generated one. 18 19[ssl-roots-header]: https://cs.chromium.org/chromium/src/third_party/webrtc/rtc_base/ssl_roots.h 20[pki-goog]: https://www.google.com/url?q=https://pki.google.com/roots.pem 21[mozila-cacert]: https://curl.se/ca/cacert.pem 22