Skip to content

Why is the Certificate fingerprint needed for HTTPS POST requests? #3157

Closed
@Juraci

Description

@Juraci

Basic Infos

Hardware

Hardware: Nodemcu ESP-12E

Description

Problem description

Need to update the code from all Nodemcu ESP-12E devices whenever the SSL certificate of my endpoint changes, otherwise all devices that need to POST (over https) using the HTTPClient will start to get HTTPC_ERROR_CONNECTION_REFUSED response.

The URIs that I need my devices to communicate to change their SSL certificate every 3 months or so. It is extremely burdensome having to go to each device and update their certificate fingerprint.

My questions are:

  1. [Potentially dumb question] Why is the certificate fingerprint required for POST requests over https? I don't see this requirement in other libs, you just have to pass the URI of the endpoint and that is it.
  2. Is there a way to get around having to pass the certificate but still communicating through https?

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