I have created an Asp.Net Razor site in Visual Studio 2017. Anyway I was given a series of steps by Winhost for getting free SSL certificate. I followed those steps using SSL for Free. I've used FileZilla to create the folder path and uploaded the verification files.

This is what's happening in the verification files that I uploaded to my site to get my SSL certificate. It says in Firefox that there's a syntax error. It can't read the first character. I am conjecturing something wrong is happening in my web.config file.

Here is the code of my web.config file.

<?xml version="1.0" encoding="UTF-8"?>
          <mimeMap fileExtension="." mimeType="text/xml" />
          <trust level="Full"/>
          <compilation debug="true" targetFramework="4.6.1"/>
          <httpRuntime targetFramework="4.6.1"/>
            <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
                    <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
                    <bindingRedirect oldVersion="" newVersion=""/>
                    <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
                    <bindingRedirect oldVersion="" newVersion=""/>

My objective is for these verification files which I downloaded from SSL for Free to be read on my domain on the server end. If they show a series of alhpa numerical characters then I can download a free security certificate that Winhost will then willingly install for me.

Here are the verification files I have on the server. I was hesitant to provide this at first due to security reasons but now I realize I can just regenerate different verification files later. Here they are. In case the links don't work it says in Firefox "XML Parsing Error: syntax error".



  • Double check you are not saving the files with a BOM. After that you are not providing enough details: what verification files? What specific Firefox error message? What URL to test? etc. Commented Oct 15, 2018 at 14:50

1 Answer 1


I decided to ignore the error I downloaded the certificate. It works now. Winhost installed it. I did have a BOM in my web.config file but not the verification files.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.