• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32 WebServer Connecting from Anywhere

Q&A Forum › Category: ESP32 › ESP32 WebServer Connecting from Anywhere
0 Vote Up Vote Down
ChinGuan Quek asked 2 years ago

Hi,
In all the exercises, the examples use http protocol for creation of the ESP32 webserver. As I understand, http protocol is unencrypted and transmit in plain text. Could the examples be done using the more secured https protocol?.
While performing the exercise in Unit 7, my computer anti-virus application send multiple warning that the forwarding tunnel created on ngrok is unsafe. 
If the exercise could be done using https protocol, what are the changes needed in the exercise code?

3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
 
Currently, the ESPAsyncWebServer library that we use for web server projects doesn’t support https.
We now use a different method (instead of ngrok) to make the web server accessible from anywhere using https protocol using a service called Cloudflare Tunnel: https://www.cloudflare.com/products/tunnel/
You can use this service for free, but you need to have a domain name. 
 
Regards,
Sara

0 Vote Up Vote Down
ChinGuan Quek answered 2 years ago

Hi,
 
Thanks for your reply. I’ll take a look on cloudflare.
clarify: Domain name created on cloudflare?
If it would be possible, do you have an Arduino code for ESP32 to share? 🙂
Thanks
 

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
It doesn’t matter where you got a domain name.
The ESP32 code for the web server remains the same. No need to change anything.
After having the web server running everything is done on cloudfare.
Regards,
Sara
 
 

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.