ssl 인증서(*.crt)파일을 준비한다.

 

# trust anchor localhost.crt

# trust extract-compat

 

/usr/lib/python3.7/site-packages/pacman_mirrors/functions/ 아래에

httpFn.py를 수정한다.

 

context = ssl._create_unverified_context()

response = urllib.request.urlopen(requests, data=data.encode('utf-8'), context=context)

 

+ Recent posts