This site can’t provide a secure connection

Hello, I’m getting this error when accessing GitHub from my MacBook. It happens on both chrome and safari. When trying to access from other devices (either iMac or iPhone) everything works fine. Is there any certificate problem on my machine?

Thanks
Lorenzo

Hi @salas81, welcome to the GitHub Support Community! It definitely sounds like it might be a certificate problem on your machine, or it could be as something simple as the date and time.

First, can you please check in System Preferences / Date & Time that the time and date are set correctly on your computer?

Then, if that is okay, on the error page, please click Advanced and copy/paste the error message.

Next, please click the ⚠️ Not Secure in your address bar and take a screenshot (Cmd-Shift-4) of the certificate chain (or let me know any errors you see on that screen).

Also, could you please verify which version of macOS you are running (Apple menu / About This Mac) and which version of Chrome you are running (chrome://version in your address bar)?

The next step would be to check the CA certificates in Keychain Access, based on any errors there. The necessary root CA certificate is DigiCert High Assurance EV Root CA.

P.S. - This is not a fix, but a short term workaround… you could use Firefox while you are troubleshooting this, as it uses its own certificate store instead of the system Keychain.

2 Likes

Thanks Allie. Date and time look ok. I’m attaching some screenshots here about what you requested.

Only thing, I’m using a VPN and don’t know if that may cause an issue. I don’t think so because I use it on all of my devices and the MacBook is the only one not working.

Thanks!

Thank you for this, could you please try with your VPN disconnected just to rule that out before digging deeper into error logs? Thanks!

1 Like

Yeah, that’s one of the first things I’ve tried. No luck so far

Very interesting, did you happen to try Firefox? It would be a great way rule out proxy and certificate issues, because it uses its own certificate store and proxy configuration. If it works in Firefox, I would expect it is likely to be either a proxy configuration or a certificate problem.

Hello. I have Windows 10.
I try download
https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v48-win32-unknown-x64.tar.gz
and get error

This site can’t provide a secure connection

github-production-release-asset-2e65be.s3.amazonaws.com sent an invalid response.

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

Why is this error?

But if I try download https://github.com/node-gfx/node-canvas-prebuilt/archive/v2.6.1.zip
It is Ok.