Skip to content

Master: Can't create a ssl/tls connection to p2TestHub.azure-devices.net or https://httpbin.org/ using WiFiClientSecure #2711

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

Closed
tdesmet opened this issue Nov 23, 2016 · 1 comment

Comments

@tdesmet
Copy link

tdesmet commented Nov 23, 2016

Basic Infos

Hardware

Hardware: ESP-12E
Core Version: Master

Description

Can't create a ssl/tls connection to p2TestHub.azure-devices.net or https://httpbin.org/ using WiFiClientSecure.
With version 2.3.0 I could create a ssl/tls connection to azure iot hub (p2TestHub.azure-devices.net) But after installing master from github the same code won't connect anymore.

I also tried to connect to google.com and that works.

The only differences between the azure and httpbin server and google that I can find is that google uses EC 256 bits for the certificate key and azure and httpbin use RSA 2048 bits (e 65537).

The reason I am using master is that I wanted to use the ca certificate verification instead of using a certificate thumbprint.

Settings in IDE

Module: NodeMCU 1.0
Flash Size: 4MB
CPU Frequency: 80Mhz
Flash Mode: ?qio?
Flash Frequency: ?40Mhz?
Upload Using: SERIAL
Reset Method: ?ck / nodemcu?

@igrr
Copy link
Member

igrr commented Oct 1, 2017

Same root cause as #3340

@igrr igrr modified the milestones: 2.5.0, 2.4.0 Oct 1, 2017
@igrr igrr closed this as completed in 80e9a84 Oct 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants