Sajjan Sarkar Sajjan Sarkar - 1 month ago 10
Javascript Question

Cannot load jQuery CDN on chrome - Getting "Your connection is not private" error

Problem:

Chrome is not allowing any page(example jsfiddle) to load : https://code.jquery.com/jquery-1.12.4.min.js , it also doesnt load if i directly paste in address bar. I get the error below.

enter image description here

I have tried:


  • Changing it to HTTP, this does work, but i need to use HTTPS (for
    various reasons) so this is not an acceptable solution.

  • Tried updating the CLRSet in chrome per an SO answer - didnt work

  • Removed
    all firewall/antivirus settings

  • Rebooted machine

  • Re-installed chrome



Notes:

It works with no problem on IE/FF etc and also in other peoples' computers

I realize this is a subjective question, but please let me know if there's anything I can do!

SOLUTION:

Finally this is what worked for me, thanks to @SaurabhSharma for pointing me to the post which had the solution (though it is not the accepted solution)

enter image description here

Answer

Use Google hosted CDN for libraries instead

https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js

Update: Certificate errors on chrome occur either because of following:

(1) The System Time is not the real-time.

(2) The SSL certificate has Expired.

(3) Google Chrome is not updated.

(4) The SSL certificate is not Installed properly.

(5) The SSL certificate is not issued by a Trusted Certificate Authority (CA) or a self-signed certificate is used to secure a website.

(6) The website is secured with an outdated 128-bit SSL.

(7) The website is secured with an outdated SHA-1 Algorithm.

Also check this solution