04.06.2020, 10:54
(04.06.2020, 04:36)admin Wrote: Older firmware uses SSLv3 for HTTPS requests by default. SSLv3 is disabled on most servers for security reasons so TLSv1.2 or newer must be used instead. HTTPS library in the new FW will use TLSv1.2 by default. The updated code that Daniel posted is perfectly fine and will work on all firmware versions.
I tried this code on firmware 20160714 and it fails:
Code:
log("code: " ..tostring(code))
log("headers: " ..tostring(hdrs))
log("status: " ..tostring(stat))
test_telegram 04.06.2020 11:05:19
* string: status: nil
test_telegram 04.06.2020 11:05:19
* string: headers: nil
test_telegram 04.06.2020 11:05:19
* string: code: revcd alert fatal error