Installing Kinetic on Linux Mint: SSL certificate issue

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

antonella gravatar image

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

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 xenial/main amd64 Packages
  SSL: certificate subject name (* does not match target host name ''
Reading package lists... Done
W: The repository ' 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 SSL: certificate subject name (* does not match target host name ''

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


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

// Don't verify SSL certificates "false";

// Don't verify certificate name matches server name "false";

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

antonella gravatar image antonella  ( 2019-07-21 00:58:35 -0600 )edit