Comments on: ESP32 HTTPS Requests (Arduino IDE) https://randomnerdtutorials.com/esp32-https-requests/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Wed, 19 Mar 2025 17:37:08 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Dave Evans https://randomnerdtutorials.com/esp32-https-requests/#comment-1006767 Mon, 10 Feb 2025 06:44:17 +0000 https://randomnerdtutorials.com/?p=121379#comment-1006767 Your example “ESP32 HTTPS Requests without Certificate” won’t compile without me adding
#include <WiFi.h>

]]>
By: Rob Latour https://randomnerdtutorials.com/esp32-https-requests/#comment-1002133 Thu, 23 Jan 2025 15:20:01 +0000 https://randomnerdtutorials.com/?p=121379#comment-1002133 In reply to Kan Deng.

🙂

]]>
By: Kan Deng https://randomnerdtutorials.com/esp32-https-requests/#comment-1002100 Thu, 23 Jan 2025 12:05:14 +0000 https://randomnerdtutorials.com/?p=121379#comment-1002100 In reply to Rob Latour.

O, yes, yes,

I should use the root certificate in the chain.

And I manually download the root certificate in my Chrome browser, it works!

A lot of thanks!
Kan

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-https-requests/#comment-1002083 Thu, 23 Jan 2025 10:48:04 +0000 https://randomnerdtutorials.com/?p=121379#comment-1002083 In reply to Rob Latour.

Hi.
Thanks for sharing.
Regards,
Sara

]]>
By: Rob Latour https://randomnerdtutorials.com/esp32-https-requests/#comment-1001712 Wed, 22 Jan 2025 00:54:24 +0000 https://randomnerdtutorials.com/?p=121379#comment-1001712 sorry typo above ” you need to use the third certificate in the change.” should be ” you need to use the third certificate in the chain.”

]]>
By: Rob Latour https://randomnerdtutorials.com/esp32-https-requests/#comment-1001711 Wed, 22 Jan 2025 00:52:49 +0000 https://randomnerdtutorials.com/?p=121379#comment-1001711 Kan Deng … you need to use the third certificate in the change. Take a look at the post above, and try out the certifiable program with the following command string:

certifiable howsmyssl.com

and you will see three certificates listed.

To get the one you need, and to have it converted for use in an Arduino program, you can use:

certifiable howsmyssl.com -n 3 -c
which will copy the results into your clipboard.

Alternatively, you can use:
certifiable howsmyssl.com -n 3 -g c++ progmem -c

]]>
By: Rob Latour https://randomnerdtutorials.com/esp32-https-requests/#comment-1001696 Tue, 21 Jan 2025 23:37:50 +0000 https://randomnerdtutorials.com/?p=121379#comment-1001696 Thanks for all the great work you do with randomnerdtutorials , I’ve been visiting for years.

In any case, I recently released an open source program that runs as a Windows command line utility to automatically generate the needed Arduino / C++ code for a website’s SSL certificate. Basically all you need to specify is the website name in the command line along with some additional arguments.

For more information, please see:
github.com/roblatour/certifiable

]]>
By: Kan Deng https://randomnerdtutorials.com/esp32-https-requests/#comment-999459 Mon, 13 Jan 2025 08:02:54 +0000 https://randomnerdtutorials.com/?p=121379#comment-999459 This is a great tutorial, explaining a complex topic in simple terms.

Following the steps described in this tutorial, we manually downloaded the certificate from https://www.howsmyssl.com/, using Chrome browser, the content is attached at the end of this message.

Notice that the content of the certificate we downloaded is different from the the content in this tutorial.

Then we tried the sample code in ESP32, the certificate of the tutorial works fine for the https client, and the one that we downloaded doesn’t work. The error message is following,

[ssl_starttls_handshake():313]: (-9984) X509 - Certificate verification failed, e.g. CRL, CA or signature check failed

Any suggestion what goes wrong?

Many thanks,
Kan

-----BEGIN CERTIFICATE-----
MIIFJTCCBA2gAwIBAgISBCCTo2QdVc7jyVg5e7LabxGRMA0GCSqGSIb3DQEBCwUA
MDMxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQwwCgYDVQQD
EwNSMTAwHhcNMjUwMTEwMjEzNTEzWhcNMjUwNDEwMjEzNTEyWjAcMRowGAYDVQQD
ExF3d3cuaG93c215c3NsLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
ggEBAPXp4vFR2aPrkUToMo/rHtN7COl6WpE4+Oqe0it4ajnu3Xawd5/8ux6ZVtfj
ZMwrP7cUb7SEPniMmvxGfuUoWxwnqrJIZYDS3CuZ+/hXdjD7x6K3sXHkeodPx1fi
fJTZ303Or8+kP69xvd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A/
0wS/6xVArgXuHSYH6DFjDNkVyMK3QRhsLrWj9NkAekdnBhCjMFNdaky/2D+XwJyQ
8LPZZJOffiOI3p7y+1ELy55O22PECik1XQ6sSQLTWGGohTFCH4MepeVI4zieyszT
CytV39nKzhwC37+9Ry38lgfIFOP9wfeqV5cyXKnmk577FNMtNghEFyKJdgWd47Pb
bHcITblXRb97sO7DTivE/W8wHGDEmVEzX3VDZcY9xwMFiM5n1kA8u6BQaxXxwCHw
6Y7JPZ8cs4hNZ3AaVdmqqu1Qp5A/1oxWeA==
-----END CERTIFICATE-----

]]>
By: Mukarram https://randomnerdtutorials.com/esp32-https-requests/#comment-924961 Thu, 13 Jun 2024 13:13:02 +0000 https://randomnerdtutorials.com/?p=121379#comment-924961 Are there plans to release a full HTTPS GET and POST tutorial just like the HTTP GET and POST tutorial published earlier?

]]>
By: Mukarram https://randomnerdtutorials.com/esp32-https-requests/#comment-924639 Wed, 12 Jun 2024 13:56:05 +0000 https://randomnerdtutorials.com/?p=121379#comment-924639 Thank you very much for this tutorial, it has been very helpful. Were you or anybody else able to figure out how to work with certificate bundles by any chance?

]]>