sarumaj / MyCampusMobile

Software Engineering Project for IU (www.iu-fernstudium.de)
MIT License
0 stars 0 forks source link

AsyncImage TLS issue #2

Open sarumaj opened 1 year ago

sarumaj commented 1 year ago

AsyncImage loader cannot verify TLS certificate of the target server:

urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)>

Applied mitigation:

os.environ["SSL_CERT_FILE"] = certifi.where()

works only for requests.