# "SSLHandshake: Unsupported curveid: 29" with win\_get\_url

**URL:** <https://forum.ansible.com/t/sslhandshake-unsupported-curveid-29-with-win-get-url/26055>\
**Category:** Ansible Project\
**Created:** [November 17, 2017, 7:59am UTC](https://forum.ansible.com/t/sslhandshake-unsupported-curveid-29-with-win-get-url/26055 "2017-11-17T07:59:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jean\_Jordaan](https://avatars.discourse-cdn.com/v4/letter/j/838e76/32.png) [@Jean\_Jordaan](https://forum.ansible.com/u/Jean_Jordaan)\
**Post date:** [November 17, 2017, 7:59am UTC](https://forum.ansible.com/t/sslhandshake-unsupported-curveid-29-with-win-get-url/26055/1 "2017-11-17T07:59:32Z")

</div>

Hi all

We’re trying to get a file from a server in a playbook:

`

- win\_get\_url:  
url: [https://some.domain.com/test.txt](https://some.domain.com/test.txt)  
dest: D:\test.txt  
url\_username: xxxxx  
url\_password: xxxxx  
skip\_certificate\_validation: yes  
validate\_certs: no  
use\_proxy: no  
force: yes

`

This fails with the failure **SSLHandshake: Unsupported curveid: 29**  
We changed to the following, and now it works:

`

- name: Get release  
win\_shell: |  
$headers = @{}  
$headers.Add(“Authorization”, “Basic redacted”)  
Invoke-WebRequest -Uri “[https://some.domain.com/test.txt](https://some.domain.com/test.txt)” -Headers $headers -OutFile “test.txt”

`

Where is **win\_get\_url** losing the plot?

Regards,  
Jean

---

<div class="post-metadata">

**Author:** ![Mike\_Fennemore](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@Mike\_Fennemore](https://forum.ansible.com/u/Mike_Fennemore)\
**Post date:** [November 17, 2017, 9:37am UTC](https://forum.ansible.com/t/sslhandshake-unsupported-curveid-29-with-win-get-url/26055/2 "2017-11-17T09:37:04Z")

</div>

if you run the same playbook with win\_get\_url but with -vvvv what is the output?

---

<div class="post-metadata">

**Author:** ![chanond](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@chanond](https://forum.ansible.com/u/chanond)\
**Post date:** [November 17, 2017, 11:58am UTC](https://forum.ansible.com/t/sslhandshake-unsupported-curveid-29-with-win-get-url/26055/3 "2017-11-17T11:58:17Z")

</div>

The error message is somehow different than what it originally was, but the output I’m getting from -vvvv (Jean posted on my behalf) is still similar which is the following:

`

TASK [win\_get\_url] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /mnt/c/path/to/playbook/playbook.yml:15  
Using module file /home/xxxx/.local/lib/python2.7/site-packages/ansible/modules/windows/win\_get\_url.ps1  
\<xxx.xxx.x.x\> ESTABLISH WINRM CONNECTION FOR USER: xxxx on PORT yyyy TO xxx.xxx.x.x  
EXEC (via pipeline wrapper)

`

---

<div class="post-metadata">

**Author:** ![Mike\_Fennemore](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@Mike\_Fennemore](https://forum.ansible.com/u/Mike_Fennemore)\
**Post date:** [November 17, 2017, 12:30pm UTC](https://forum.ansible.com/t/sslhandshake-unsupported-curveid-29-with-win-get-url/26055/4 "2017-11-17T12:30:54Z")

</div>

Are you running Ansible from Bash on Ubuntu on Windows?

---

<div class="post-metadata">

**Author:** ![Jean\_Jordaan](https://avatars.discourse-cdn.com/v4/letter/j/838e76/32.png) [@Jean\_Jordaan](https://forum.ansible.com/u/Jean_Jordaan)\
**Post date:** [November 17, 2017, 1:22pm UTC](https://forum.ansible.com/t/sslhandshake-unsupported-curveid-29-with-win-get-url/26055/5 "2017-11-17T13:22:53Z")

</div>

Yes, using WSL.
