Skip to content
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

Example BasicHttpsClient SSL cert has expired ? #9129

Open
6 tasks done
mats-nk opened this issue Apr 26, 2024 · 0 comments
Open
6 tasks done

Example BasicHttpsClient SSL cert has expired ? #9129

mats-nk opened this issue Apr 26, 2024 · 0 comments

Comments

@mats-nk
Copy link

mats-nk commented Apr 26, 2024

Basic Infos

  • This issue complies with the issue POLICY doc.
  • I have read the documentation at readthedocs and the issue is not addressed there.
  • I have tested that the issue is present in current master branch (aka latest git).
  • I have searched the issue tracker for a similar issue.
  • If there is a stack dump, I have decoded it.
    no stack dump
  • I have filled out all fields below.

Platform

  • Hardware: ESP-12
  • Core Version: 2024-04-26
  • Development Env: Arduino IDE 2.3.2
  • Operating System: Windows

Settings in IDE

Problem Description

Unmodified example : BasicHttpsClient.ino

In /libraries/ESP8266HTTPClient/examples/BasicHttpsClient/

Of the two methods :

client->setFingerprint(fingerprint_sni_cloudflaressl_com);

and

client->setInsecure();

The later setInsecure(); works and from the SSL cert file cert.h info:

// not valid before: 2020-01-27 12:48:08
// not valid after:  2024-12-31 23:59:59

I assume that the certificate has expired.

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

1 participant