Ansible error "urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)"

0 votes

I picked up an algorithm from github and deployed it directly without making any modifications in the config file. It game the following error:

fatal: [localhost]: FAILED! => {"changed": false, "content": "", "msg": "Status code was -1 and not [200]: Request failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)>", "redirected": false, "status": -1, "url": "https://api.digitalocean.com/v2/regions"}

Where am I going wrong?

Oct 15 in Ansible by Hannah
• 16,420 points
160 views

Could you please post the output of the following command:

dpkg -V ca-certificates
Hey @Goest for responding. There is no output at all!

That means you do not have the right certificates. Execute the following command, it might work:

brew reinstall openssl

1 answer to this question.

0 votes

That means you do not have the right certificates. Execute the following command, it might work:

brew reinstall openssl
answered Oct 15 by Yogesh

Related Questions In Ansible

0 votes
1 answer
0 votes
3 answers
0 votes
1 answer
0 votes
1 answer

"FATAL: all hosts have already failed -- aborting" - Ansible error

Hey @Anju, you could change your second ...READ MORE

answered Feb 7 in Ansible by Sri
61 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
215 views
0 votes
1 answer
0 votes
1 answer