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.

Luca Berton
5 min readMay 25, 2022

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…

--

--

Luca Berton
Luca Berton

Written by Luca Berton

I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday

No responses yet