-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Have support for TLS 1.2 in SDK v2.0? #2805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Curious if you were able to confirm support for TLS 1.2 by getting it to work? After several attempts of connecting to AWS API Gateway (which requires TLS 1.2), all I am getting are connection failed errors when trying to make a post request. It seems like it may work though as I can connect to github with similar requests. In both cases I confirmed the SSL fingerprints are correct. |
With version 2.3.0 installed, using fancyssl.hboeck.de (which is tls1.2-only), it appears TLS1.2 is NOT supported. @igrr, does this make sense? It appears it should work, per the 2.3.0 release notes and #2537. Further, the release notes give two git hashes for axTLS binary inclusions. The 2.3.0 tag has the older release hash, not the newer one: The commit of the updated binary appears to be on master, not in the 2.3.0 tag. I don't know where the git hashes of the axtls binary come from, so it's hard to be certain that's the problem. FWIW, using 'fancyssl' means SNI works, which was the other addition that should be in axtls2.0. |
Did you configure the TLS version appropriately when attempting to connect? micropython/micropython#2343 |
Hmm, no. Looks like it needs to be |
TLS1.2 is supported in git version, to be released in 2.4.0. |
Hey all, just curious if anyone was able to get TLS 1.2 working with the git version? I'm trying to connect to AWS IoT and it seems to keep rejecting the connection at the SSL stage. I've successfully connected to the AWS endpoint using openssl on my laptop and the same certificates/key (they are DER versions) but I keep getting this on the debug output:
A snippet of my code for this connection test is here:
I don't know if it means anything, but it takes a while (a couple seconds) after |
Closed sans comment, @igrr? |
I have commented above: #2805 (comment) |
Hi, i see some posts on the internet saying that the new version of the SDK (ESP8266_NONOS_SDK_V2.0.0_16_07_19) supports TLS 1.2, but in the official documentation says it only has support for TLS 1.1
https://github.com/esp8266/Arduino/blob/master/doc/esp8266wifi/readme.md#client-secure
Thanks
The text was updated successfully, but these errors were encountered: