I can't load the esphome firmware on my espHome

Hi, I’m trying to configure espHome for my esp8266 on my HomeAssistant, but I’m running into this error:
image

As I found in this thread:
https://community.home-assistant.io/t/new-esp32-board-unable-to-compile-the-configuration/582586
The problem is the https communication, here is my configuration:

http:
  base_url: https://x:y
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem

I also use:

  • duckdns
  • Internal https (without proxy plugin)

I would like the devices to be accessible both inside and outside my house (ssid and wifi pass identical) and not lose https communication, is it possible? as?