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
Are you using any (http(s)) proxy?
Yes, I use the company's proxy. I could run apt-get update for Ubuntu so I think the setting of proxy is ok.
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.Can you try without the proxy configured? See if that works?
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.
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.
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.
Well, then I guess it would make sense to compare your configuration to that of your colleague(s), no?