How can I solve certificate problems with mgar fetch?

If I try to get a source tree with

$ mgar fetch

I get an error:

ERROR: cannot verify's certificate, ...

How can I fix this?

asked: 2014-06-17 by: cgrzemba

cgrzemba answers:

You get the hint add option `--no-check-certificate'

If it ok for you, you can add the option in this way:

$ mgar fetch WGET_OPTS=--no-check-certificate