# HTTPS Restrictions in WLED?

**URL:** <https://wled.discourse.group/t/https-restrictions-in-wled/5666>\
**Category:** Questions\
**Created:** [July 19, 2022, 11:05am UTC](https://wled.discourse.group/t/https-restrictions-in-wled/5666 "2022-07-19T11:05:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![forSince](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/forsince/32/3368_2.png) [@forSince](https://wled.discourse.group/u/forSince)\
**Post date:** [July 19, 2022, 11:05am UTC](https://wled.discourse.group/t/https-restrictions-in-wled/5666/1 "2022-07-19T11:05:28Z")

</div>

Hello WLED-Friends,

im trying to customize my working usermod (simple http-POST request to my own API-server) to use HTTPS instead. Im using the method “setInsecure()” so the esp8266 doesnt have to check the certificate, which is fine!

Lets get to the problem here:  
When Im running my customized version (https) on the WLED-Device (Wemos D1 mini) , I wont get a HTTP Response Code. When trying to run the code on a “fresh” D1 mini, not as a usermod of WLED, everything works fine.

Are there any known restrictions when using https (without checking for the certificate/fingerprint)?

Already trying to find a solution for 2 weeks.  
Some help would be very appreciated!

Best Regards  
forSince

---

<div class="post-metadata">

**Author:** ![forSince](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/forsince/32/3368_2.png) [@forSince](https://wled.discourse.group/u/forSince)\
**Post date:** [July 20, 2022, 12:47pm UTC](https://wled.discourse.group/t/https-restrictions-in-wled/5666/2 "2022-07-20T12:47:37Z")

</div>

It does not even work when I try using the official example from:

> <https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266HTTPClient/examples/BasicHttpsClient/BasicHttpsClient.ino>

I assume something is blocking the whole HTTP-procedure.

---

<div class="post-metadata">

**Author:** ![huggy-d1](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/huggy-d1/32/51_2.png) [@huggy-d1](https://wled.discourse.group/u/huggy-d1)\
**Post date:** [July 20, 2022, 6:44pm UTC](https://wled.discourse.group/t/https-restrictions-in-wled/5666/3 "2022-07-20T18:44:56Z")

</div>

> [@forSince](#):
>
> `expires on June 2, 2021`

It says it expires on June 2, 2021. Unless you can configure devices trying to communicate via https to have a date prior to June 2, 2021, and manually set the date on WLED to the same date as those devices, you will need to wait for the above Demo URL fingerprint to be updated (or update it yourself).
