Skip to content

Unable to use WifiClientSecure to connect to Google services #545

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
salqadri opened this issue Jul 30, 2017 · 3 comments
Closed

Unable to use WifiClientSecure to connect to Google services #545

salqadri opened this issue Jul 30, 2017 · 3 comments

Comments

@salqadri
Copy link

salqadri commented Jul 30, 2017

I want to connect to Google servers, so I tried replacing the test_root_ca variable in the WiFiClientSecure.ino example with the Equifax pem file contents but I keep getting a failure. On digging in the it seems mbedtls gives me back error -0x2700 which means that it failed certification verification, but doesn't explain why it failed it. Any ideas on how I can make this work?

@copercini
Copy link
Contributor

Which google service are you trying to use?
With which certificate?

@salqadri
Copy link
Author

salqadri commented Jul 30, 2017

I'm just trying to connect to google.com to do a simple HTTP GET on "https://www.google.com/". The root CA for google.com is Equifax Secure Certificate Authority.

@salqadri
Copy link
Author

Nvm; the root CA for google.com turns out to be GeoTrust Global CA, and now it works great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants