HTTPS Site Won’t Load in GTMetrix and Google Tools

Grizzly Software & Technical Services
Sign up for tips, tricks, and the latest news in tech

I recently ran across an issue where the https version of a Magento site on Nginx wasn’t showing up in Gtmetrix and a few Google tools. The error GTMetrix was showing was something like this.

“Analysis Error

An error occurred fetching the page: write failed: Bad file descriptor”

Looking at the GTMetrix SSL verification section, I noticed that they mentioned setting up the full CA bundle while setting up the certificate. The appropriate way to fix the problem is to combine your CA Bundle and the existing crt file. The command(in linux) will look something like this.

cat www_sitename_com.crt www_sitename_com.ca-bundle >> cert_chain.crt

After you’ve generated this file, replace your existing crt file on the server with the new file(cert_chain.crt) and you should be good to go.

Leave a Reply

Your email address will not be published. Required fields are marked *