2.0.1: Add certificate verification to requests
See original GitHub issueDescribe the bug When creating a “gis” with ‘verify_cert’ to True, I am getting warnings from urllib3 to add certificate verification.
To Reproduce Steps to reproduce the behavior:
from arcgis.gis import GIS
ent_gis = GIS(portal_url, portal_username, portal_password, verify_cert=True, use_gen_token=True)
error:
urllib3\connectionpool.py:1045: InsecureRequestWarning: Unverified HTTPS request is being made to host 'portal.company.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
Expected behavior No warning should appear out of the box and best security practice should be implemented. More info: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
Platform (please complete the following information):
- OS: Windows 10
- Browser [e.g. chrome, safari]
- Python API Version: 2.0.1
Thanks !
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Python Requests throwing SSLError - Stack Overflow
Requests can verify SSL certificates for HTTPS requests, just like a web browser. To check a host's SSL certificate, you can use the...
Read more >SSL Certificate Verification - Python requests - GeeksforGeeks
Requests verifies SSL certificates for HTTPS requests, just like a web browser. SSL Certificates are small data files that digitally bind a ...
Read more >requests 2.0.1 - PyPI
SSL CERT VERIFICATION ! Release of Cerifi: Mozilla's cert list. New 'verify' argument for SSL requests. Urllib3 update.
Read more >Encryption and Authentication using SSL
The first step of deploying HTTPS is to generate the key and the certificate for each machine in the cluster. You can use...
Read more >Certificate verification in Python standard library HTTP clients
The ssl._https_verify_certificates() function can be used to enable or disable certificate verification at runtime. This API can be used by ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We’ll take a look for the 2.1.0 release.
This has been fixed and will be in the next release