FreeBSD: Authentication Error when fetching ports from github

For people who have the same problem: I have tried to install a port that fetches its source from github and it failed to fetch it. When I tried the fetch command manually for the given URL I saw the following error: fetch https://github.com/nicolargo/glances/archive/v1.7.3.tar.gz Certificate verification failed for /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV CA-1 34380826280:error:14090086:SSL […]