How to use ssl client certificate (p12) with Scrapy?
问题 I need to use client certificate file in format p12 (PKCS12) to talk to a webserver with scrapy, is there a way to do that ? 回答1: I can't offer you a tested and complete solution here, but I know a few places where some adjustments might give you what you need. The starting point is scrapy's ContextFactory object which defines the SSL/TLS configuration. The standard implementation ScrapyClientContextFactory doesn't use client certificates and also doesn't do any server certificate