Robotics StackExchange | Archived questions

Rosdep update error: SSL certifacate_verify_failed

I'm trying to install ROS-jade on Ubuntu 15.04 (vivid) now.

I was strictly following the instruction on this wiki and using the full installation sudo apt-get install ros-jade-desktop-full

But get the following error massage when I run rosdep update:

reading in sources list data from /etc/ros/rosdep/sources.list.d
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)>

Did I miss anything in Ubuntu setting? (I'm a newer for Unix)

Many thanks

Asked by leo.yjf on 2015-12-25 02:51:14 UTC

Comments

Are you using any (http(s)) proxy?

Asked by gvdhoorn on 2015-12-25 04:46:44 UTC

Yes, I use the company's proxy. I could run apt-get update for Ubuntu so I think the setting of proxy is ok.

Asked by leo.yjf on 2015-12-25 08:28:59 UTC

Depending on how you configured things, apt-get does not use SSL. If your company is doing a MitM to snoop on your SSL traffic, and using a cert that isn't one of the trusted ones on your Ubuntu machine, then Python and its libraries might decide that that certificate is not to be trusted.

Asked by gvdhoorn on 2015-12-25 09:07:57 UTC

Can you try without the proxy configured? See if that works?

Asked by gvdhoorn on 2015-12-25 09:08:16 UTC

Thank you very much for the information. But I can not access internet without the proxy configured. If that's the case, what can I do to solve the issue.

Asked by leo.yjf on 2015-12-25 20:07:44 UTC

Can you browse to any of those URLs with your web browser (ie: Firefox)? Not being able to access SSL URIs is going to be a major pain when developing with ROS, as a lot of resources are located on github fi.

Asked by gvdhoorn on 2015-12-28 12:14:39 UTC

Yes, I can browse web well. I think the proxy setting for http and https are all right. My colleague told me they install ROS without this problem on Ubuntu 14.04. I hat tied to use cntlm to setup the proxy. All web browse are ok, but rosdep still return with same error.

Asked by leo.yjf on 2015-12-28 21:16:16 UTC

My colleague told me they install ROS without this problem on Ubuntu 14.04.

Well, then I guess it would make sense to compare your configuration to that of your colleague(s), no?

Asked by gvdhoorn on 2015-12-29 03:21:39 UTC

Answers