rvm / rvm1-ansible

The official ansible RVM role to install and manage your Ruby versions.
MIT License
271 stars 136 forks source link

Failed to validate the SSL certificate #44

Closed demian711 closed 9 years ago

demian711 commented 9 years ago

I was trying to do a fresh install on a totally new EC2 instance (Ubuntu 14) And I am getting a 'Failed to validate the SSL certificate' error on "TASK: [rvm_io.rvm1-ruby | Install rvm installer]". This is the ansible output: TASK: [rvm_io.rvm1-ruby | Detect rvm installer] *** ok: [52.5.52.143]

TASK: [rvm_io.rvm1-ruby | Detect current rvm version] ***** skipping: [52.5.52.143]

TASK: [rvm_io.rvm1-ruby | Install rvm installer] ****** failed: [52.5.52.143] => {"failed": true, "item": ""} msg: Failed to validate the SSL certificate for raw.githubusercontent.com:443. Use validate_certs=no or make sure your managed systems have a valid CA certificate installed. 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

Thanks

nickjj commented 9 years ago

I can't reproduce this. Have you tried re-running it?

amritsingh commented 9 years ago

If you are using ansible version below 1.9 you will face this issue. Please move to the latest version.

jonfer commented 9 years ago

I also had this problem, upgrading Ansible solved it :thumbsup:

nickjj commented 9 years ago

Ok thanks guys, going to close this.

keyeh commented 8 years ago

I'm getting the same error. I'm using the latest ansible 2.1.0 from git on a fresh ubuntu 14.04.4 install

Edit: Disregard, reinstalling ubuntu & ansible worked