Closed Xav83 closed 4 years ago
Hey Xav83, I got the same error while creating a new test environment. I used the following versions of the required software:
After some research I stumbled upon this stackoverflow question which stated, that the security protocol version of powershell may be to old to access the website in the download statement of the installation script. (https://stackoverflow.com/questions/41618766/powershell-invoke-webrequest-fails-with-ssl-tls-secure-channel).
After adding this line to the file shell/InstallChocolatey.ps1 the installation of chocolatey in the test environment worked flawlessly:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Is this worth a pull request or are there better ways to change the Security Protocol in the Powershell?
Hey Xav83, I got the same error while creating a new test environment. I used the following versions of the required software:
- Vagrant, version 2.2.7
- VirtualBox, version 6.0.16 r135674
- Chocolatey, version 0.10.15
After some research I stumbled upon this stackoverflow question which stated, that the security protocol version of powershell may be to old to access the website in the download statement of the installation script. (https://stackoverflow.com/questions/41618766/powershell-invoke-webrequest-fails-with-ssl-tls-secure-channel).
After adding this line to the file shell/InstallChocolatey.ps1 the installation of chocolatey in the test environment worked flawlessly:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Is this worth a pull request or are there better ways to change the Security Protocol in the Powershell? Thank you very much!
Hi everybody, I hope you all have a great day π
I submit this issue to you because I have a problem with the installation of Chocolatey on the test environnement. Indeed, when running the command
vagrant provision
to run test a package, I end up with the following error :Here are the information of my setup:
This is my first package, so I may have some element not setup correctly triggering this error. For information, I currently try to upgrade the conan package.
Thank you all for your attention, I hope you can help me with this issue so that I can finally finish upgrading conan package π