파이썬으로 request 모듈로 https를 요청할 때 인증서 verify를 false로 하는 경우 발생하는 SSL 경고 메시지를 없애는 방법입니다. https 요청하기 python 으로 https 요청 할 때 ssl 인증서를 검증받지 않도록 하는 옵션을 사용할 수 있습니다. requests.post(url, data, verify=False) 이 경우 요청 시 에 다음과 같은 오류 메시지가 계속해서 출력됩니다. Unverified HTTPS Request...... request is being made to host '192.168.1.100'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.i..
https로 git repository를 클론하면 https 오류가 발생하는 경우가 있습니다. 저같은 경우에는 gitlab에서 프로젝트를 생성하여 소스를 관리하는데, gitlab 서버에서 clone 시 종종 다음과 같은 https server certificate 오류가 발생합니다. fatal: unable to access 'https://1.1.1.1/root/abc.git/': server certificate verification failed. CAfile: none CRLfile: none 자가서명 SSL 인증서를 사용하는 경우 발생하는 오류로 git clone하는 클라이언트에서 verify를 무시하면 해결됩니다. $ git config --global http.sslVerify false 위..
Comment