Open apitamy opened 4 months ago
Ignoring TLS certificates validation is generally not recommended, but can have use in some scenarios, like testing. Therefore I can allow it, but it should not be default. I would say the best approach is to add another boolean parameter to the parser
(other boolean parameters are --dont-export-attachments
, --force-update-files
, etc..), that will enable those lines:
ctx.check_hostname = False
ctx.verify_mode = ssl.CERT_NONE
only if someone intentionally add that parameter.
makes total sense. I'll work on that but it may take a bit. Thanks for input!
Small change to bypass errors with self signed certificates.