rosdistro: rosdep init fails to download file under Ubuntu 16.04 Arm64 on Nvidia TX1 and TX2

sudo rosdep init fails under Ubuntu 16.04 Arm64. Tested on my Nvidia TX1.

rosdep version: python-rosdep/xenial,now 0.11.5-1 all

rosdep is unable to download over https because of a certificate problem.

I’ve bypassed the certificate check by adding the following line to: /usr/lib/python2.7/dist-packages/rosdep2/main.py, just after the imports:

import ssl ssl._create_default_https_context = ssl._create_unverified_context

It works, but it does not seem safe…

wstool has a similar issue. Downloading source packages fails because of a certificate error:

wstool init -j8 src kinetic-desktop-full-wet.rosinstall

– Update: This has also been experienced with TX2

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

There’s something odd about how the certificates on the TX1 image were installed. I found here that the solution is to call

sudo c_rehash /etc/ssl/certs

After calling that rosdep init and wget both work fine.