{"action":"opened","issue":{"url":"https://api.github.com/repos/scrapy/scrapy/issues/1930","repository_url":"https://api.github.com/repos/scrapy/scrapy","labels_url":"https://api.github.com/repos/scrapy/scrapy/issues/1930/labels{/name}","comments_url":"https://api.github.com/repos/scrapy/scrapy/issues/1930/comments","events_url":"https://api.github.com/repos/scrapy/scrapy/issues/1930/events","html_url":"https://github.com/scrapy/scrapy/issues/1930","id":148151545,"number":1930,"title":"Scrapy 1.1.rc3 - exception thrown with invalid ssl certificate","user":{"login":"natoinet","id":594800,"avatar_url":"https://avatars.githubusercontent.com/u/594800?v=3","gravatar_id":"","url":"https://api.github.com/users/natoinet","html_url":"https://github.com/natoinet","followers_url":"https://api.github.com/users/natoinet/followers","following_url":"https://api.github.com/users/natoinet/following{/other_user}","gists_url":"https://api.github.com/users/natoinet/gists{/gist_id}","starred_url":"https://api.github.com/users/natoinet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natoinet/subscriptions","organizations_url":"https://api.github.com/users/natoinet/orgs","repos_url":"https://api.github.com/users/natoinet/repos","events_url":"https://api.github.com/users/natoinet/events{/privacy}","received_events_url":"https://api.github.com/users/natoinet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-13T18:56:45Z","updated_at":"2016-04-13T18:56:45Z","closed_at":null,"body":"Hello,\r\n\r\nI am crawling sometimes websites with an invalid ssl certificate. For example, when I do\r\n> scrapy shell https://www.directoriosanitario.com/directorio\r\n\r\nScrapy 1.1.rc3 fails to opens and throws the following exception:\r\n\r\n\r\n> twisted.web._newclient.ResponseNeverReceived: [\\<twisted.python.failure.Failure service_identity.exceptions.VerificationError: VerificationError(errors=[DNSMismatch(mismatched_id=DNS_ID(hostname=b'www.directoriosanitario.com'))])>]\r\n\r\nI tried it with Scrapy 1.0.5 on python 2.7 and the spider opens but warns with: \r\n> AttributeError: 'NoneType' object has no attribute 'failVerification'\r\n\r\nIs there a way to force the spider to open with Scrapy 1.1.rc3?"}}