The key authorization file from the server did not match this challenge

I have read other posts on this but can’t find an answer.

My domain is tpadmin.tk and I am using MVC on an Azure Windows VM

My curl command is shown below. Does anyone know how I can get rid the leading characters shown in the response below? The file name and content I have pasted matches what I was requested to use, but somehow characters are being added to the reponse.

C:\Users\hp\Desktop\curl\bin>curl -ikL4 http://tpadmin.tk/.well-known/acme-challenge/NujC6rAb12L9Wgx9bmwJFfzGlJRnOKqHYW2O4Rfoz8Y
HTTP/1.1 200 OK
Content-Type: text/plain
Last-Modified: Tue, 04 Sep 2018 10:03:20 GMT
Accept-Ranges: bytes
ETag: "ab8d17823644d41:0"
Server: Microsoft-IIS/8.5
X-Powered-By: ASP.NET
Date: Tue, 04 Sep 2018 10:46:29 GMT
Content-Length: 90

´++NujC6rAb12L9Wgx9bmwJFfzGlJRnOKqHYW2O4Rfoz8Y.iT_Z5UNzJhyfezjCRL2Q5886EanuCVfSi1vEjN1B3Rc
1 Like

OK my bad - I created the text file in VS and it seems that kindly added some characters for me. I created the validation files in a text editor and that resolved my issue

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.