Skip to content

Commit 8d0f995

Browse files
jdufresnesigmavirus24
authored andcommitted
Fix failed AppVeyor web requests (#309)
Allow we requests to servers that only support TLS 1.2. Previously failed with the error: Exception calling "DownloadFile" with "2" argument(s): "The request was aborted: Could not create SSL/TLS secure channel." Was marking all contributions as broken which is not helpful for reviewing. Fixes #308
1 parent d004fbd commit 8d0f995

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# To activate, change the Appveyor settings to use `.appveyor.yml`.
22
install:
3+
- ps: "[Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
4+
35
- python -m pip install --upgrade virtualenv pip setuptools tox
46

57
# Fetch the three main PyPy releases

0 commit comments

Comments
 (0)