0

For some strange reason I cannot figure out, GitHub has not been accessible from browser or terminal. I tried many solutions mainly from StackOverflow that says to re-install certificates. Those solutions did not work at all.

I’m located in India. The machine is inside a university network. All other machines in university network are able to access it, when I contacted them about this.

I am using Ubuntu 18.04.

The error from terminal when I clone is something like the following

fatal: unable to access 'https://github.com/somerepo.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

All other websites using HTTPS works well. Time is also set to current one.

Screenshots:

enter image description here Image1 when I click on view certificate in Advanced option Image2 when I click on view certificate in Advanced option

7
  • 1
    Use the Advanced button to check the actual certificate what values are shown to you (certificate issuer and other data). May be there is an root CA config problem, may be you are behind an HTTPS intercepting proxy.
    – Robert
    Commented Oct 6, 2020 at 15:49
  • Someone could be trying to impersonate the site and you should not continue. Websites prove their identity via certificates. Firefox does not trust github.com because its certificate issuer is unknown, the certificate is self-signed, or the server is not sending the correct intermediate certificates. Error code: SEC_ERROR_UNKNOWN_ISSUER This is what I see in advance option @Robert
    – Nagaraju
    Commented Oct 6, 2020 at 16:02
  • There is a "Show certificate" label, klick it and add the screenshot to your post.
    – Robert
    Commented Oct 6, 2020 at 16:05
  • @Robert added screenshots to the question
    – Nagaraju
    Commented Oct 6, 2020 at 16:12
  • Check the proxy settings, you are connected to the Internet through a Sophos anti-virus network traffic scanner. If there is not explicit proxy set on your system check the certificate info on other computers where it works if the certificate is also from Sophos CA.
    – Robert
    Commented Oct 6, 2020 at 16:37

0

You must log in to answer this question.

Browse other questions tagged .