Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sslv3 alert handshake failure when downloading nodesource gpg apt key #354

Closed
jamesongithub opened this issue Sep 8, 2016 · 10 comments
Closed

Comments

@jamesongithub
Copy link

Our apt installs of node on ubuntu are failing. Did something change?

Failed to download key at https://deb.nodesource.com/gpgkey/nodesource.gpg.key: Request failed: <urlopen error [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>

Seem to not work for sslv3 anymore.

curl -3 https://deb.nodesource.com/gpgkey/nodesource.gpg.key
curl: (35) error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
@mweagle
Copy link

mweagle commented Sep 8, 2016

Hi @jamesongithub - we just recently moved repository hosting to CloudFront in order to increase availability and security. See #353 (comment) for more information. The latest versions of curl and wget should be able to successfully connect.

@jamesongithub
Copy link
Author

Unfortunately we are using ansible / python2.

@jamesongithub
Copy link
Author

Pretty sure this will affect anyone installing node w/ ansible from nodesource. Will have to find a workaround.

@kvz
Copy link

kvz commented Sep 14, 2016

Hey @jamesongithub did you find a workaround? This is blocking my deploys now

@kvz
Copy link

kvz commented Sep 14, 2016

Okay if someone stumbles upon this, it seems if you're on Ubuntu Trusty, using Python 2.7.6, you'll need to bypass Python via e.g. curl: ansible/ansible#9966 (comment)

@jamesongithub
Copy link
Author

yeah just download the key with wget or curl and import the key manually

@t-readyroc
Copy link

FYI: this is still happening, nearly 6mos later.

@jamesongithub
Copy link
Author

it was never "fixed" @t-readyroc see the workaround above

@chrislea
Copy link
Contributor

Yes @t-readyroc , this wasn't "fixed" nor will it be because it's not broken. We're using the TLS settings that are recommended by AWS for proper security. We don't feel that weakening this to support super old SSL implementations is in the best interests of anybody.

@phumpal
Copy link

phumpal commented Sep 6, 2017

FWIW another solution (on Trusty at least) is to install an updated version of python.

add-apt-repository ppa:jonathonf/python-2.7
apt-get update
apt-get install -y python2.7

then re-run your Ansible play. You may need to purge package lists path (rm -rf /var/lib/apt/lists/*)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants