Skip to content

Example BasicHttpsClient SSL cert has expired ? #9129

Closed
@mats-nk

Description

@mats-nk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions