Accessing an HTTPS website

My query has more to do with SSL HTTPS than just HTML, so I hope I am in the correct forum. If not, then please feel free to move this thread as you wish.

As briefly as I can, my problem is this: I have volunteered my time and resources to create an Arduino project for our water association that monitors water levels in each water tank. The board member’s would like to receive texts when water levels fall below 8 ft. I have done just that, but I am using one of my own unsecured - HTTP - site from which to send the requested texts.

In the includes folder of my site I have a PHP file that, when requested by the Arduino sketch function, send texts to all board members. This works perfectly. After testing was completed it was time to use the water assciations own website to bounce the texts from.

I built their website and set it up as an HTTPS site. For well over a month I have tried everything that know to do and have NEVER received a text back from this secure website. I think the reason for this is because the site is secure.

So, if my base assumption is correct, then can someone confirm this?

This entire project is completed and ready to be installed, but this issue has put a hold on the install because I do not want my personl site to be tied to their project.

I have been advised to replace the microcontroller board I am currently using with another that has a built in ‘SSL stack’. In truth, I have never read a clear explanation of exactly what this is, but only that it will help navigate past the SSL/HTTPS obstacle I am facing. I have several of these new ESP32 boards in hand, but until I have exhausted all other possibilities, I will not begin testing them. The form factor of these new boards will snap right into my terminal block, but some changes will undoubtedly have to be made.

All comments and suggestions are most welcome.

Thank you.

For those who are thinking that this issue should be presented to a more microcontroller-specific site such as the Arduino forum, that would be a fair assumption to make.

There are indeed many Arduino-esq sites from which to seek help for this issue. I am not convinced that this is purely a microcontroller issue (which is why I posted it here), but the best forum for microcontroller problems is IMO the Adafruit forum.

I have exhausted my request for help with this issue on that forum. Most of the moderators are engineers and it was they who suggested that I change microcontrollers to resolve this SSL/HTTPS issue.

Thank you.

What do you understand under „receive a text“. I don’t understand what this is

I’m not sure I understand your question.

The board members receive texts on their cell phones when the tank water level falls below 8 ft. Is this what you are referring to?

You definitely mentioned sending texts multiple times.

I was confused by that too.

Good. That helps very much. I do not know why but apparently in this context just saying text is ambiguous.

The most important part is, how do you send the text messages? Hopefully there is a way to get an error message or at least error code from it.

I don’t have experience with Arduino so I can’t help.
But for what you say, it looks like Arduino doens’t understand https protocol.

I am surprised that nobody in the Arduino forum can help with this. If Arduino can’t use https directly, I would think that you will have to find a way around, like sending the information to any other system where you can get this infomration and send those text using https

If Arduino can use http, there may be a work around for this. By using Cloudflare DNS and “flexible” SSL option. Then you access Cloudflare via https and Cloudflare access http via a fixed ip address. Less safe, but super simple.

There is a https library for esp32

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.