How to setup HTTPS for HA and ESPHOME

Hi

I have started to centralize all home automation in HA, I planning to control my heating pump, floor temperature, air temperature. Next step is to integration the electricity system, my pool temperatue and Gardena garden system.

BUT first i need your help.
I’m using EPSHOME to install my NODEMCU ESP8266 but get stocked on the security settings in HA. ESPHOME need HTTPS enabled for installation EPS8266 USB-connected using webbrowser. i´m using Windows10 and Edge browser.

Question:
How do I setup HA and/or EPSHOME to use https?

easiest ssl would be to use the duckdns addon.

Why do you need https exactly? You could build an initial minimal firmware (wifi and api enabled) in the esphome addon, download it to your computer and flash it with tasmotizer or something similar. afterwards you have OTA connectivity to flash over the air.

I am not up to speed on this operation. Could you please provide more detail about the steps or a website or youtube video which demonstrates it?
Thanks