mirror of
https://github.com/Links2004/arduinoWebSockets.git
synced 2025-06-25 23:11:36 +02:00
Why: - Allow CA cert bundles to be used This change addresses the need by: - Adding a constructor that takes a pointer to the bundle - Setting the WiFiClientSecure to use the bundle - Adding an example
7 lines
236 B
Python
7 lines
236 B
Python
Import("env")
|
|
|
|
env.Execute("$PYTHONEXE -m pip install cryptography")
|
|
env.Execute("$PYTHONEXE gen_crt_bundle.py --input cacrt_all.pem")
|
|
env.Execute("mkdir -p data/cert")
|
|
env.Execute("mv -f x509_crt_bundle data/cert/x509_crt_bundle.bin")
|