Fixed issues found in BZ#998334 - RFE: Provide a way to disable ssl cert checks