Failed to fetch PPA information, error was: Request failed: [SSL: CERTIFICATE_VERIFY_FAILED]
Issue Type
Bug Report / Support Request
Your Environment
Vagrant 2.0.1
5.1.38_Ubuntur122592
ansible 2.9.4
config file = None
configured module search path = [u'/home/vagrant/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /home/vagrant/.local/lib/python2.7/site-packages/ansible
executable location = /home/vagrant/.local/bin/ansible
python version = 2.7.12 (default, Oct 8 2019, 14:14:10) [GCC 5.4.0 20160609]
Your OS
- Windows (version)
Full console output
TASK [geerlingguy.php-versions : Add repository for PHP versions (Ubuntu).] **** fatal: [cgicom]: FAILED! => {"changed": false, "msg": "failed to fetch PPA information, error was: Request failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>"}
Summary
I usually build the VM on my local quite easily. This time, while running a 'Vagrant Provision', I came across this error. And there is no way to get around it. I tried installing different versions of PHP. But nothing happens. A colleague told me, that I need CACERTS. Since I have not used it, could someone tell me how to proceed here please?
The differences I noticed this time was that Ansible did not automatically install with pip. It would get stuck and I would have to install using sudo apt install python-pip && pip install --upgrade ansible and then continue the provision which leads to the above error.
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.