New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ansible_winrm_server_cert_validation no longer works with pywinrm 0.3.0 #34378
Comments
Feel free to close this, hopefully this will help next person workaround the bug and not blame ansible :) |
bot_status |
Componentslib/ansible/plugins/connection/init.py lib/ansible/plugins/connection/buildah.py lib/ansible/plugins/connection/chroot.py lib/ansible/plugins/connection/docker.py lib/ansible/plugins/connection/funcd.py lib/ansible/plugins/connection/iocage.py lib/ansible/plugins/connection/jail.py lib/ansible/plugins/connection/libvirt_lxc.py lib/ansible/plugins/connection/local.py lib/ansible/plugins/connection/lxc.py lib/ansible/plugins/connection/lxd.py lib/ansible/plugins/connection/netconf.py lib/ansible/plugins/connection/network_cli.py lib/ansible/plugins/connection/paramiko_ssh.py lib/ansible/plugins/connection/persistent.py lib/ansible/plugins/connection/saltstack.py lib/ansible/plugins/connection/ssh.py lib/ansible/plugins/connection/winrm.py lib/ansible/plugins/connection/zone.py Metadatawaiting_on: maintainer |
!component =lib/ansible/plugins/connection/winrm.py |
bot_status |
Componentslib/ansible/plugins/connection/winrm.py Metadatawaiting_on: maintainer |
Not an Ansible issue- closing |
@nitzmahone can this be re-opened. its still not working, fatal: [web]: UNREACHABLE! => {"changed": false, "msg": "ssl: HTTPSConnectionPool(host='127.0.0.1', port=55986): Max retries exceeded with url: /wsman (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')],)",),))", "unreachable": true} even tho i have it set to ignore |
Same here. Masked IP xxx.xxx.xxx.xxx
Error encountered: |
The current pywinrm release does not work, should the documentation be updated?
To say:
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Windows WinRM with a self-signed certificate
SUMMARY
See
server_cert_validation 'ignore' no longer works in 0.3.0
diyan/pywinrm#201
STEPS TO REPRODUCE
Resolved with
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: