WaiveCar / WaiveTelem

Repository for files related to the waivetelem project
0 stars 0 forks source link

If Arduino not going to override root certs in MKRNB, we might wanna do it #57

Closed ravelab closed 5 years ago

ravelab commented 5 years ago

Created an issue, hoping Arduino will implement overriding of root certs

https://github.com/arduino-libraries/MKRNB/issues/25

It's taking a long time to connect {2019-09-13T23:36:34Z INFO src/Https.cpp:100 download , initTime :11261}

ravelab commented 5 years ago

if just load digicerts root cert (the one used by s3), the connect time is cut to 5 seconds:

{2019-09-14T23:50:45Z INFO src/Https.cpp:101 download , initTime :5615} {2019-09-14T23:52:46Z DEBUG src/Https.cpp:69 saveFile , totalBytes :222948} {2019-09-14T23:52:46Z DEBUG src/Https.cpp:85 verifyFile , computed : de8da132fd7e991918f84c2da97d8e92c0e48f9e191a43fd3b7ed0d9eb3bca1b } {2019-09-14T23:52:46Z DEBUG src/Command.cpp:139 copyFile , from : TEMP , to : ETADPU.BIN }

ravelab commented 5 years ago

it seems I dont' need any root certs to work. But might be good just to put Starfield there

https://aws.amazon.com/blogs/security/how-to-prepare-for-aws-move-to-its-own-certificate-authority/

ravelab commented 5 years ago

starfield G2 works too

{2019-09-15T00:26:46Z INFO src/Https.cpp:101 download , initTime :7222} {2019-09-15T00:28:57Z DEBUG src/Https.cpp:69 saveFile , totalBytes :222948} {2019-09-15T00:28:57Z DEBUG src/Https.cpp:85 verifyFile , computed : de8da132fd7e991918f84c2da97d8e92c0e48f9e191a43fd3b7ed0d9eb3bca1b } {2019-09-15T00:28:57Z DEBUG src/Command.cpp:139 copyFile , from : TEMP , to : ETADPU.BIN }

ravelab commented 5 years ago

alright, did it and store on ./lib, wait for it to be merged.