Added self signed ssl certificate validation