2

I am brand new to Mac and wondering what i cant access github.com from safari or from terminal with git clone. MyOS is 12.0.1 Monterey.

In Safari, it says "safari cant establish a secure connection with github.com" while terminal says unable to access github.com. No alternate certificate found.

What is the fix?

8
  • 1
    Is your time on your new Mac correctly set and synced to a timeserver? Commented Jan 27, 2022 at 20:39
  • @SaaruLindestøkke it is set to automatic and showing correct date time of my city.
    – TheAnd
    Commented Jan 28, 2022 at 6:47
  • Do other secure sites work (like this one)? Does the behaviour change in Chrome? Both browsers should have a way to inspect the cert (I'm more familiar w/ how to do it in Chrome than Safari). If you can do that, you should be able to see WHY it's getting rejecting. An "expired" cert is a good suggestion, that's why your date is important. But, if you can see the cert, you can copy it and install it, and then tell the browser to trust it (in Chrome, anyway). Are you running this at work? They might have a proxy in place, you might need IT to help add github.com to an allow-list.
    – jimtut
    Commented Jan 28, 2022 at 16:54
  • @jimtut thanks for the input. I dont have chrome yet but I am more important in the terminal side of things more than the browser. I cant git clone, or ping github.com in terminal. I will try Chrome but still i am hoping to get around the terminal.
    – TheAnd
    Commented Jan 29, 2022 at 17:09
  • Is it a work Mac? Are you going thru some company firewall or proxy that could be blocking GH?
    – jimtut
    Commented Jan 29, 2022 at 18:43

0

You must log in to answer this question.

Browse other questions tagged .