So, in requests
in case of SSL verification, we pass verify=True
or verify='/path/to/cert
. According to the documentation, passing verify=True
means that requests checks the SSL certificate on the host. But, in case of passing path to the cert file in verify
for requests, it considers the specific cert file for authenticating the request.
Then what is the advantage of passing verify=True
in the first place? Since, even if, I pass verify=False
, it works correctly. Earlier, I thought, it is generating a self-signed certificate, but I was incorrect. Any help will be appreciated.