공장 이야기

Windows 7 Cef 빌드 시 depot_tools update 오류

바다가소주라면- 2022. 7. 6. 17:00

Windows 7 Cef 빌드를 할려고 세팅 후 update_depot_tools.bat 을 하니 아래와 같은 오류가...

 

"Failed to bootstrap or update CIPD client

Downloading CIPD client for windows-amd64 from https://chrome-infra-packages.ap
pspot.com/client?platform=windows-amd64&version=git_revision:2fe24264d5b4585ecd
16ba8e9bb582d8f4b20875...
Failed to download the file, check your network connection, Exception setting "
SecurityProtocol": "Cannot convert null to type "System.Net.SecurityProtocolTyp
e" due to invalid enumeration values. Specify one of the following enumeration
values and try again. The possible enumeration values are "Ssl3, Tls".""

 

TLS 버전차이 인가 해서. TLS 1.2 지원하게 레지스트리 수정 등등... 개 삽질을 해봤지 만 동일한...

다운받은 depot_tools 폴더에 .cipd_impl.ps1 <<< 이넘을 열어서 111 줄에 있는 넘을 수정 했다... 아래와 같이...

 

#[System.Net.ServicePointManager]::SecurityProtocol = `
#        [System.Net.SecurityProtocolType]::Tls12
[System.Net.ServicePointManager]::SecurityProtocol = "Ssl3, Tls"

 

Windows 10에선 그냥 된거 같은데... 하드 코딩이라 맘엔 안들지만 이유는 난중에 찾는 걸로!!!

혹시 아시는 분?ㅎ