While I was trying to clone the libmicrohttpd Git repository I got the following fail:
fatal: unable to access 'https://gnunet.org/git/libmicrohttpd.git/': server certificate verification failed.
The easy way to fix it’s disable the SSL verification at the same command line where we clone the repository, by setting the GIT_SSL_NO_VERIFY variable to “true”.
$ GIT_SSL_NO_VERIFY=true git clone --recursive https://gnunet.org/git/libmicrohttpd.git/
We’ll get our local copy of the repository. If we’re going to work on it rather than just compiling or installing (that was my case) then we can disable SSL certification checking for that repository: