It is because of the second paragraph in my previous post. The Safari that you are using on Yosemite is blocked from connecting to modern websites that have upgraded their site security due to outdated security protocols, hence the messages, "can't establish a secure connection to the ____ server." The cure for this is a browser that supports current security (TLS) protocols. None are available for a 2014 - 2015 (Yosemite) Mac operating system.
As neither current versions of the Chrome or Firefox browsers support macOS Yosemite, you will need to upgrade your Mac to High Sierra or later, something that is determined by the age of your Mac and its hardware compatibility with newer operating system releases.
From your menu > About This Mac, take note of the content in parenthesis on the product description line. Compare the year of your MacBook Air to the hardware requirements in How to get old versions of macOS. Follow the link to the Mac App Store for the version of macOS where you Air meets the hardware requirements, and download that full installer to your /Applications folder. Do perform a Time Machine backup to an external drive before any upgrade attempt.