# Unable to make https work for subdomain

**URL:** <https://forum.infinityfree.com/t/unable-to-make-https-work-for-subdomain/57865>\
**Category:** Hosting Support\
**Created:** [February 8, 2022, 8:33am UTC](https://forum.infinityfree.com/t/unable-to-make-https-work-for-subdomain/57865 "2022-02-08T08:33:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![NasCode](https://forum.infinityfree.com/letter_avatar/nascode/32/5_5575768a8748004e209b776fc1b2916d.png) [@NasCode](https://forum.infinityfree.com/u/NasCode)\
**Post date:** [February 8, 2022, 8:33am UTC](https://forum.infinityfree.com/t/unable-to-make-https-work-for-subdomain/57865/1 "2022-02-08T08:33:47Z")

</div>

### Username (e.g. epiz\_XXX) or Website URL

subdomain.xyzsecurity.xyz

### Error Message

# his site can’t provide a secure connection

**subdomain.xyzsecurity.xyz** sent an invalid response.

- [Try running Windows Network Diagnostics](javascript:diagnoseErrors()).

ERR\_SSL\_PROTOCOL\_ERROR

### Other Information

I am trying to use one of infinityfree free SSL certificates. I managed to make it work for the main domain (xyzsecurity.xyz) but did not manage to do it for my subdomain (my subdomain is called subdomain.xyzsecurity.xyz). I tried two different type of SSL certificates but still no success. I am attaching the cname screenshot for your reference. Any help is highly appreciated

 ![cname](https://forum-cdn.infinityfree.net/original/3X/6/b/6b14f67009addd60bc77e42be6d537ef925cc5e6.png)

---

<div class="post-metadata">

**Author:** ![jaikrishna.t](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/jaikrishna.t/32/57109_2.png) [@jaikrishna.t](https://forum.infinityfree.com/u/jaikrishna.t)\
**Post date:** [February 8, 2022, 8:39am UTC](https://forum.infinityfree.com/t/unable-to-make-https-work-for-subdomain/57865/2 "2022-02-08T08:39:41Z")

</div>

> [@NasCode](#):
>
> subdomain.xyzsecurity.xyz

So did you install SSL certificate for this domain in the control panel?

---

<div class="post-metadata">

**Author:** ![NasCode](https://forum.infinityfree.com/letter_avatar/nascode/32/5_5575768a8748004e209b776fc1b2916d.png) [@NasCode](https://forum.infinityfree.com/u/NasCode)\
**Post date:** [February 8, 2022, 9:01am UTC](https://forum.infinityfree.com/t/unable-to-make-https-work-for-subdomain/57865/3 "2022-02-08T09:01:58Z")

</div>

Hi jaikrishna.t  
Thank you for your reply. Does this answer your question or there is soemthing else that you meant?

 ![ssl](https://forum-cdn.infinityfree.net/original/3X/a/6/a68bd3beb37c6f723304c5b99a213ef02d47a044.png)

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [February 8, 2022, 9:11am UTC](https://forum.infinityfree.com/t/unable-to-make-https-work-for-subdomain/57865/4 "2022-02-08T09:11:21Z")

</div>

Make sure you do this

> [@How to install an SSL certificate](https://forum.infinityfree.com/t/how-to-install-an-ssl-certificate/49324):
>
> In order to get a padlock in the address bar in your website, you need to install an SSL certificate on your website. This article describes how to do that. If you would rather watch a video, scroll down to the bottom of this article. Installing an SSL certificate The first step to install an SSL certificate is of course to get the SSL certificate. You will need to get your SSL certificate from a certificate vendor of your choice. InfinityFree also provides free SSL certificates in the [client …](https://app.infinityfree.net/sslCertificates)

and this

> [@How to force all traffic to HTTPS](https://forum.infinityfree.com/t/how-to-force-all-traffic-to-https/49322):
>
> After you’ve enabled SSL for your website, you’ll probably want to redirect all traffic on your website to the https version of your site. There are multiple ways to do that. Let’s compare some commonly used ways. Using script configuration Some scripts (including Wordpress) have a setting which allows you to set your website URL. By changing this URL from [http://example.com](http://example.com) to [https://example.com](https://example.com), the script will probably redirect visitors to the https version of your site. Even if your script…

---

<div class="post-metadata">

**Author:** ![NasCode](https://forum.infinityfree.com/letter_avatar/nascode/32/5_5575768a8748004e209b776fc1b2916d.png) [@NasCode](https://forum.infinityfree.com/u/NasCode)\
**Post date:** [February 9, 2022, 10:33am UTC](https://forum.infinityfree.com/t/unable-to-make-https-work-for-subdomain/57865/5 "2022-02-09T10:33:31Z")

</div>

That did the trick. Many thanks mate

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [February 16, 2022, 10:34am UTC](https://forum.infinityfree.com/t/unable-to-make-https-work-for-subdomain/57865/6 "2022-02-16T10:34:12Z")

</div>

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