Will the certificate work for Infinityfree hosting

Hello everybody,
Greetings from India! I needed some help with using LetsEncrypt certificates. Few weeks back I purchased my domain name from GoDaddy. Also the website is hosted using Infinityfree website hosting. However now it’s not possible to view any content on the website as I also need an SSL certificate. I just wanted to know if LetsEncrypt will work with my domain. Please suggest some other SSL provider if it won’t work

My domain is: http://marvelfanfiles.page

My hosting provider, if applicable, is: Infinityfree

My domain registrar is: GoDaddy

I can login to a root shell on my machine (yes or no, or I don’t know): No

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): CPanel

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): Not using Certbot yet

Thanking you

Yours sincerely

Antariksh Pratham

1 Like

Hi @APratham

checking your domain there is a Grade J - https://check-your-website.server-daten.de/?q=marvelfanfiles.page - that’s bad.

If you want to create a Letsencrypt certificate, Letsencrypt must validate your domain.

Read some basics:

And something about the different challenge types.

But checking your domain (the required /.well-known/acme-challenge subdirectory), there is a script of your hoster:

Visible Content: This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support
Info: Html-Content with meta and/or script, may be a problem creating a Letsencrypt certificate using http-01 validation
<html><body><script type="text/javascript" src="/aes.js" ></script><script>function toNumbers(d){var e=[];d.replace(/(..)/g,function(d){e.push(parseInt(d,16))});return e}function toHex(){for(var d=[],d=1==arguments.length&&arguments[0].constructor==Array?arguments[0]:arguments,e="",f=0;f<d.length;f++)e+=(16>d[f]?"0":"")+d[f].toString(16);return e.toLowerCase()}var a=toNumbers("f655ba9d09a112d4968c63579db590b4"),b=toNumbers("98344c2eee86c3994890592585b49f80"),c=toNumbers("1c167956de3e1144501be14a7c38a53a");document.cookie="__test="+toHex(slowAES.decrypt(c,2,a,b))+"; expires=Thu, 31-Dec-37 23:55:55 GMT; path=/"; location.href="http://marvelfanfiles.page/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de?i=1";</script><noscript>This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support</noscript></body></html>

That script blocks the Letsencrypt validation process.

So you may use dns-01 validation, perhaps with --manual. That should always work, but you have to redo that every 60 - 85 days, Letsencrypt certificates are only 90 days valid.

Perhaps check acme.sh, there is a GoDaddy dns plugin.


Hi @APratham,

According to the home page of InfinityFree, their free hosting tier includes “Free SSL on all websites”, among other features. This makes me think that you do not need to get your own certificate for your site, because InfinityFree should do this for you.

If this process didn’t work properly, it’s possible that there’s some other misconfiguration with your domain, perhaps in terms of the DNS settings, or perhaps that you didn’t follow InfinityFree’s directions exactly in pointing your domain at their hosting service.

Does InfinityFree have any kind of support or forum where you could ask about why this didn’t work? I suspect that if you can identify and fix the configuration problem, the service will then support HTTPS automatically without further action on your part. But it’s hard to diagnose this problem from the outside because InfinityFree probably isn’t going to tell us what (if anything) went wrong.


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