inflearn logo
Khóa học

Khóa học

Chia sẻ kiến thức

Bài viết của SejeongPark

SejeongPark SejeongPark

@mblaqsj10150448

Số lượng đánh giá đã viết
-
Xếp hạng trung bình
-

Bài viết 4

Hỏi & Đáp

강의를 보고 실행 중의 알 수 없는 오류

aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host naver.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)')] 오류에서 다음과 같이 해결을 했는데, ssl 관련한 의미를 모르겠어요. SSLCertVerificationError 관련 사항에 대해 어떤 의미인지, 질문드립니다. ssl_context = ssl . create_default_context ( cafile = certifi . where ()) conn = aiohttp .TCPConnector( ssl = ssl_context ) # connector=conn async with aiohttp .ClientSession( connector = conn ) as session : result = await fetcher ( session , urls [ 0 ]) print ( result )

Lượt thích
1
Số bình luận
1
Lượt xem
405