Installing Kinetic on Linux Mint: SSL certificate issue

asked 2019-07-20 23:50:37 -0500

antonella gravatar image

updated 2019-07-20 23:51:21 -0500

I'm trying to install ROS Kinetic on a fresh install of Linux Mint 18.3 and running into issues.

After adding keys (and yes, I am using the new keys as per question 325039) I am getting the following error when running sudo apt-get update:

Err:11 https://packages.ros.org/ros/ubuntu xenial/main amd64 Packages
  SSL: certificate subject name (*.osuosl.org) does not match target host name 'packages.ros.org'
...
Reading package lists... Done
W: The repository 'https://packages.ros.org/ros/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://packages.ros.org/ros/ubuntu/dists/xenial/main/binary-amd64/Packages SSL: certificate subject name (*.osuosl.org) does not match target host name 'packages.ros.org'

I'm running OpenSSL version 1.0.2g. I tried updating the apt repos on another system running Ubuntu 16.04 and didn't have an issue. I'm new to Linux Mint and haven't been able to figure out the cause.

edit retag flag offensive close merge delete

Comments

In case anyone is experiencing the same thing, I was able to get around the issue temporarily by ignoring certificate checking for packages.ros.org by adding the following to /etc/apt/apt.conf.d/apt.conf (obviously not very secure):

// Don't verify SSL certificates
Acquire::https::packages.ros.org::Verify-Peer "false";

// Don't verify certificate name matches server name
Acquire::https::packages.ros.org::Verify-Host "false";

But would still like to figure out the underlying issue, if anyone has any suggestions.

antonella gravatar imageantonella ( 2019-07-21 00:58:35 -0500 )edit