ssl unverified certificate python

Solutions on MaxInterview for ssl unverified certificate python by the best coders in the world

showing results for - "ssl unverified certificate python"
Henrietta
07 May 2017
1import ssl 
2
3# creates an unverified certificate with ssl even without certificate
4try:
5    _create_unverified_https_context = ssl._create_unverified_context
6except AttributeError:
7    pass
8else:
9    ssl._create_default_https_context = _create_unverified_https_context
10
11#upvote this if it helped you