ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

rosdep update ssl cert error

asked 2016-08-11 09:45:02 -0500

Humoros gravatar image

Hi, I'm trying to install ROS Indigo for OSX (Yosemite) using the instructions on the official site, and when I get to the step where you update the ros dependencies (rosdep update), this is what it shows:

reading in sources list data from /etc/ros/rosdep/sources.list.d
ERROR: unable to process source [https://raw.githubusercontent.com/mikepurvis/ros-install-osx/master/rosdeps.yaml]:
    <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)> (https://raw.githubusercontent.com/mikepurvis/ros-install-osx/master/rosdeps.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml]:
    <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml]:
    <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml]:
    <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml]:
    <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml]:
    Failed to download target platform data for gbpdistro:
    <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index.yaml
ERROR: error loading sources list:
    <urlopen error <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)> (https://raw.githubusercontent.com/ros/rosdistro/master/index.yaml)>

I really don't get this, because my browsers are all fine with and trust github. As they should.

I know there's already someone who asked about this error (here: http://answers.ros.org/question/47177... ) , but the only closure they got was to ask around where they are, so it doesn't really help me, sorry. Important notes: I'm usually in the US but for this month I'm in Germany and I'm borrowing someone's wifi. Before you ask, I've tried using other wifi, like the one from the German university I'm at, public wifi, and I've of course tried going through my US university's vpn. I've tried adding github to my proxy-bypassing list, I've tried deleting the ssl certificate from github so it could re-download, and I've tried to follow answers from similar questions online, but they all didn't seem completely applicable to me or too hard to follow. Can someone please help? And keep in mind that I'm not very experienced with unix commands and such, so go easy on me? ^_^;

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-08-11 13:25:53 -0500

tfoote gravatar image

updated 2016-08-11 13:26:05 -0500

Browsers often have their top level Certificates bundled inside them so that might not be a good test.

You need to make sure that your system keychain has the ssl root certificates. From a bit of searching it looks like homebrew has provided the Mozilla ca certificates packaged as curl-ca-bundle

A few releated resources:

@William might have a suggestion

edit flag offensive delete link more

Comments

I don't have any suggestion beyond what you put in your answer.

William gravatar image William  ( 2016-08-11 13:46:36 -0500 )edit

Wow, thanks so much!! Although I had to use someone's workaround because brew install curl-ca-bundle didn't work directly (davestacey's answer here: https://github.com/devopsgroup-io/vag... ), your thinking was spot-on and it works now! I'm so happy!

Humoros gravatar image Humoros  ( 2016-08-11 16:30:12 -0500 )edit

Glad to hear it's working. Please click the checkmark at left to indicate the question is solved for others.

tfoote gravatar image tfoote  ( 2016-08-11 18:39:03 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2016-08-11 09:45:02 -0500

Seen: 1,679 times

Last updated: Aug 11 '16