# Connection Not Private Error frequently while valid SSL certificate

**URL:** <https://forum.infinityfree.com/t/connection-not-private-error-frequently-while-valid-ssl-certificate/49950>\
**Category:** Hosting Support\
**Created:** [August 14, 2021, 4:35pm UTC](https://forum.infinityfree.com/t/connection-not-private-error-frequently-while-valid-ssl-certificate/49950 "2021-08-14T16:35:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![KeKa000](https://forum.infinityfree.com/letter_avatar/keka000/32/5_5575768a8748004e209b776fc1b2916d.png) [@KeKa000](https://forum.infinityfree.com/u/KeKa000)\
**Post date:** [August 14, 2021, 4:35pm UTC](https://forum.infinityfree.com/t/connection-not-private-error-frequently-while-valid-ssl-certificate/49950/1 "2021-08-14T16:35:00Z")

</div>

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

[https://camshaft.epizy.com/](https://camshaft.epizy.com/)

### Error Message

 ![IMG-20210814-WA0001](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/1/f/1fd18ebd71647e2eee3409a018447db9243b34db.jpeg)

### Other Information

my site is SSL-certificate-valid, it is usually in secure connection as normal.  
but frequently this frustrating window appears to me, then, I restart the router, then, it is back to secure connection again, and I went along with that…

BUT, once, it appeared again, I asked my friend to open the site from his mobile (on his router), and showed this frustrating window,  
OOPS,  
I restarted my router and asked him to restart his, he did, although, he didnt back to secure connection, it kept NOT PRIVATE ERROR with him, but it returned with me to normal secure connection but not with him.

EVEN IF it had been back to secure connection with him after router restart, it would be no good to construct a site that asks his clients to restart the router from time to time.

* * *

Additional Info:

- I use VS Code. and I hit “close all FTP connections” every time I finish working.

- My certificate is from the infinityfree CPanel.

- my PC is low end with Windows\_7 but running smoothly most of the time.

- I less frequently have weak internet connection while coding.

- Every php mysql connection in my scripts has its close code.

- it showed this error window in three different browsers.

- I am upset cuz it is not a constant error, it happens from time to time, which makes it harder to capture and find its reason. and most people dont know much about website building and hacking, so, they may think I am harming them tho i never ask my visitors to give any private info even in signing up.

Thnx in advance !

---

<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:** [August 14, 2021, 4:42pm UTC](https://forum.infinityfree.com/t/connection-not-private-error-frequently-while-valid-ssl-certificate/49950/2 "2021-08-14T16:42:33Z")

</div>

You need 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:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [August 14, 2021, 4:43pm UTC](https://forum.infinityfree.com/t/connection-not-private-error-frequently-while-valid-ssl-certificate/49950/3 "2021-08-14T16:43:56Z")

</div>

Your SSL is installed correctly, and the article below should solve your issue. I think the problem is that sometimes you visit the site under “HTTP” (And get the error), and sometimes you visit it under “HTTPS” (And it works). You can force the browser to load it in HTTPS, and that should solve your issue. Thanks for giving the amount of detail you did in your first post, it is appreciated.

> [@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:** ![KeKa000](https://forum.infinityfree.com/letter_avatar/keka000/32/5_5575768a8748004e209b776fc1b2916d.png) [@KeKa000](https://forum.infinityfree.com/u/KeKa000)\
**Post date:** [August 14, 2021, 5:12pm UTC](https://forum.infinityfree.com/t/connection-not-private-error-frequently-while-valid-ssl-certificate/49950/4 "2021-08-14T17:12:58Z")

</div>

I think I do, I will try it hoping it helps,  
Really thank you mr @KangJL !

---

<div class="post-metadata">

**Author:** ![KeKa000](https://forum.infinityfree.com/letter_avatar/keka000/32/5_5575768a8748004e209b776fc1b2916d.png) [@KeKa000](https://forum.infinityfree.com/u/KeKa000)\
**Post date:** [August 14, 2021, 5:19pm UTC](https://forum.infinityfree.com/t/connection-not-private-error-frequently-while-valid-ssl-certificate/49950/5 "2021-08-14T17:19:26Z")

</div>

Oh, mr @Greenreader9 , always helping me! Thank you!

But a little point:  
When the error happened, I wrote the link in the link field of Chrome:-  
[https://camshaft.epizy.com](https://camshaft.epizy.com)  
But the problem was still there till I restarted the router, is this ok and will be solved with the .htaccess file edition ? or am I in trouble ?

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [August 14, 2021, 6:30pm UTC](https://forum.infinityfree.com/t/connection-not-private-error-frequently-while-valid-ssl-certificate/49950/6 "2021-08-14T18:30:34Z")

</div>

Restarting the router won’t exactly help, but clearing your cache will. Also, give the .htaccess rule a few hours to start working. You should he perfectly fine 🙂

---

<div class="post-metadata">

**Author:** ![KeKa000](https://forum.infinityfree.com/letter_avatar/keka000/32/5_5575768a8748004e209b776fc1b2916d.png) [@KeKa000](https://forum.infinityfree.com/u/KeKa000)\
**Post date:** [August 14, 2021, 6:45pm UTC](https://forum.infinityfree.com/t/connection-not-private-error-frequently-while-valid-ssl-certificate/49950/7 "2021-08-14T18:45:21Z")

</div>

yeah, according to my little knowledge, router got no rule in that, but u do the same step and see the same result every time, it makes u think again.  
At the end, you believe in what u see with ur eyes…  
Ok, easy for me to wait, thank you,  
Pleased to dialogue with you and mr @KangJL

---

<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:** [August 21, 2021, 6:46pm UTC](https://forum.infinityfree.com/t/connection-not-private-error-frequently-while-valid-ssl-certificate/49950/8 "2021-08-21T18:46:18Z")

</div>

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