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:
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