sixeyed / dockerfiles-windows

Dockerfiles for Windows containers
MIT License
237 stars 100 forks source link

TLS 1.1 support terminated at github #9

Open alainsch opened 6 years ago

alainsch commented 6 years ago

Hi Elton,

Github terminated yesterday the support for TLS 1.1 ( https://github.com/blog/2507-weak-cryptographic-standards-removed )

All dockerfiles that do a Invoke-Webrequest from Github will fail on windows 2016.

I added the following to my scripts to solve this:

RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; ` Invoke-WebRequest ...

Alain

AidarGatin commented 5 years ago

Worked for me, Thank you Alain!