This script pulls the list of Mozilla trusted certificate authorities and updates the root certificates on MacOS
Original script by Earle F. Philhower, III. Released to the public domain.
Taken by Agret from: https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/examples/BearSSL_CertStore/certs-from-mozilla.py and modified to update the MacOS cert store