andipedia Your case sounded interesting to me, then I clicked to follow the thread... But, here, you take without giving anything. How did you resolve your issue?
From my understanding, @aaPanel_Kern told you that the https scheme at beginning of your URL couldn't succeed by design, until you have a validated certificate. So, during the file challenge, it reaches the file on http:// only.