Is there a way to tell the requests lib to add multiple certificates like all .pem files from a specified folder?
import requests, glob
CERTIFICATES = glob('/certs/')
url = '127.0.0.1:8080'
requests.get(url, cert=CERTIFICATES)
Seems to work only for a single certificate
I already search google and the python doc. The best tutorial I found was the SSL certification section in the official documentation.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…