Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Build Error [services | download fits zip]: SSL certificate validation error for fits.google.com download. #25

Closed
pketienne opened this issue Nov 4, 2015 · 0 comments

Comments

@pketienne
Copy link

As DCE and WashU both use CentOS7 environments, I'm posting a record of this error, a work around, and a description of what might be necessary for a longer term solution.


failed: [hydra-head] => {"failed": true}
msg: Failed to validate the SSL certificate for fits.googlecode.com:443. Make sure your managed systems have a valid CA certificate installed. If the website serving the url uses SNI you need python >= 2.7.9 on your managed machine. You can use validate_certs=False if you do not need to confirm the server\s identity but this is unsafe and not recommended Paths checked for this platform: /etc/ssl/certs, /etc/pki/ca-trust/extracted/pem, /etc/pki/tls/certs, /usr/share/ca-certificates/cacert.org, /etc/ansible

FATAL: all hosts have already failed -- aborting


Here's a work-around:

[ansible]/roles/services/tasks/fits.yml:8

A more appropriate solution would be to upgrade CentOS7's python version from 2.7.5 to >=2.7.9, however 2.7.5 is the latest available through Yum. Installing python >=2.7.9 locally (/usr/local/bin) and changing symlinks / alternatives breaks the Yum installer (and other things, so I've read). Adding an alias for "python" in the .bashrc of the "install" user so that "python" points to the /usr/local/bin installation also doesn't work. The Ansible task uses "become: yes", which I believe means it's basically running with a root environment which bypasses the "install" user's alias pointing to the local python 2.7.9 install.

@pketienne pketienne changed the title Build Error: SSL certificate validation error for fits.google.com download. Build Error [services | download fits zip]: SSL certificate validation error for fits.google.com download. Nov 4, 2015
@acozine acozine closed this as completed Jun 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants