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 Certificate verification failed for /C=US/O=DigiCert Inc/ High Assurance EV CA-1 34380826280:error:14090086:SSL […]