Fixed BZ#998334 - add a way to disable the ssl certificate check.