Member-only story
Ansible troubleshooting — VMware certificate verify failed connecting to vCenter or ESXi
Let’s troubleshoot together the Ansible fatal error “Unable to connect to vCenter or ESXi API [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:897)” to find the root cause, connection problem connecting, and successfully run our Ansible For VMware Playbook code.
Today we’re going to talk about Ansible troubleshooting, specifically about the “Unable to connect to vCenter or ESXi API [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:897)
” message and enable Ansible For VMware.
This fatal error message happens when the Ansible controller is not able to connect to your VMware Infrastructure. The root cause might be a self-signed SSL certificate or a chain-of-trust not correctly installed in your Ansible Controller.
I’m Luca Berton and welcome to today’s episode of Ansible Pilot.
demo
- How to reproduce, troubleshoot, and fix the error
- “Unable to connect to…