mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 13:50:40 +01:00
![]() OpenSSL removed ability to generate C code:
|
||
---|---|---|
.. | ||
generate_sslroots.py | ||
README.md |
Generate rtc_base/ssl_roots.h
This directory contains a script to generate the content of rtc_base/ssl_roots.h, to update the SSL roots shipped by WebRTC follow this instructions:
-
Download roots.pem from pki.goog or [curl.se][mozilla-cacert]
-
Launch the script:
$ vpython3 tools_webrtc/sslroots/generate_sslroots.py <the pem file>
-
Step 2 should have generated an ssl_roots.h file right next to the pem file.
-
Overwrite rtc_base/ssl_roots.h with the newly generated one.