Just in case somebody get the same error.
Using the command ansible-galaxy collection install google.cloud I just get through this error:
error when getting available versions of collection google.cloud: Unknown error
when attempting to call Galaxy at 'https://galaxy.ansible.com/api/': <urlopen
error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get
local issuer certificate (_ssl.c:1123)>
ERROR! Unknown error when attempting to call Galaxy at 'https://galaxy.ansible.com/api/': <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)>
Solved: If you're using macOS go to Macintosh HD > Applications > Python3.6 folder (or whatever version of python you're using) > double click on "Install Certificates.command" file.
Just in case somebody get the same error.
Using the command
ansible-galaxy collection install google.cloud
I just get through this error:Solved: If you're using macOS go to Macintosh HD > Applications > Python3.6 folder (or whatever version of python you're using) > double click on "Install Certificates.command" file.
Thank you for adding a solution to the error you found here!