I'm facing [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618) error while running my small script.
Can someone please help for the same.
Try setting the "validate_certs" to "no" as for some reason Ansible checks the Palo Alto cert. Also upgrade to the latest version of ansible.
Also increase the verbosity with "-vvvv" to see better the error message and to google it. EXAMPLE: ansible-playbook 'playbook_name '-vvvv
Hello @nikoolayy1 ,
thanks for suggestions, I tried it already but it didn't help as it belong to uri module and here I'm using palo's provided module.
Well, this issue belongs to ansible itself as ansible is not able to verify the certificate received from the client. I'm still to find out the actual root cause but we can disable this checks by adding below environment to playbook which will exclude the cert verification.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!