update_certs.cmd 730 B

12345678910111213
  1. ECHO OFF
  2. REM update_certs.cmd : update certs.ar with actual pems retrieved from mozilla
  3. REM
  4. REM see also %LOCALAPPDATA%\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\examples\BearSSL_CertStore
  5. REM
  6. REM you may need to install openssl e.g. from https://kb.firedaemon.com/support/solutions/articles/4000121705
  7. REM windows installer here: https://download.firedaemon.com/FireDaemon-OpenSSL/FireDaemon-OpenSSL-x64-3.0.7.exe
  8. REM
  9. SET PATH=%LOCALAPPDATA%\Arduino15\packages\esp8266\tools\python3\3.7.2-post1;%LOCALAPPDATA%\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\bin;%PATH%
  10. python3 certs-from-mozilla.py
  11. REM
  12. REM copy certs.ar manually to parent directory
  13. REM