# WinRM : certificate ignore option does not work from playbook

**URL:** <https://forum.ansible.com/t/winrm-certificate-ignore-option-does-not-work-from-playbook/24427>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [May 9, 2017, 2:56pm UTC](https://forum.ansible.com/t/winrm-certificate-ignore-option-does-not-work-from-playbook/24427 "2017-05-09T14:56:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tai\_Kedzierski](https://avatars.discourse-cdn.com/v4/letter/t/b77776/32.png) [@Tai\_Kedzierski](https://forum.ansible.com/u/Tai_Kedzierski)\
**Post date:** [May 9, 2017, 2:56pm UTC](https://forum.ansible.com/t/winrm-certificate-ignore-option-does-not-work-from-playbook/24427/1 "2017-05-09T14:56:10Z")

</div>

Hello

I’m trying to configure windows plays to ignore the self-signed certificate from the playbook, but this is not working (I get CERTIFICATE\_VERIFY\_FAILED if I rely on the playbook var)

However, if I set the same option in the inventory, I do not get this error (I get win\_file not being able to create file, but that’s a different matter altogether)

Playbook contents:

---

<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:** [May 9, 2017, 5:56pm UTC](https://forum.ansible.com/t/winrm-certificate-ignore-option-does-not-work-from-playbook/24427/2 "2017-05-09T17:56:54Z")

</div>

As far as I know the connection variables belong in inventory or group\_vars or set as host\_vars.
