diafygi / gethttpsforfree

Source code for https://gethttpsforfree.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Step 4: Verify Ownership - HTML/JS Error

iandevlin opened this issue · comments

When I am on step 4, when I click "I'm now serving this file on domain.com", it always returns: "Error: You need to run the above signature command and paste the output in the text box." even though the file is correctly hosted.

I have traced the issue to line 714 of index.js, where this is run:

var challenge_sig = hex2b64(document.getElementById("challenge_sig_" + d_).value);

The issue is that document.getElementById("challenge_sig_" + d_).value is always empty so of course the check fails.

I am a fool 💨