Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

ignore certificare ssl

import urllib2
import ssl

ctx = ssl.create_default_context()
ctx.check_hostname = False
ctx.verify_mode = ssl.CERT_NONE

urllib2.urlopen("https://your-test-server.local", context=ctx)
Source by newbedev.com #
 
PREVIOUS NEXT
Tagged: #ignore #certificare #ssl
ADD COMMENT
Topic
Name
9+5 =