Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Certificate Verification Failed During Ubuntu Focal Install

Certificate Verification Failed During Ubuntu Focal Install

Hi all. Is anyone else having issues installing following the install instructions for Lunux?

Here's what I get when doing apt update:

Code:

ubuntu@ubuntu:~$ sudo apt update

Ign:1 cdrom://Ubuntu 20.04.3 LTS _Focal Fossa_ - Release amd64 (20210819) focal InRelease
Hit:2 cdrom://Ubuntu 20.04.3 LTS _Focal Fossa_ - Release amd64 (20210819) focal Release
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease                                   
Get:5 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]               
Get:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]                                   
Ign:7 https://build.openmodelica.org/apt focal InRelease                                                 
Err:8 https://build.openmodelica.org/apt focal Release                                                   
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 192.36.54.111 443]
Reading package lists... Done                           
E: The repository 'https://build.openmodelica.org/apt focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
ubuntu@ubuntu:~$

Here is the output from the apt-key fingerprint step:

Code:

ubuntu@ubuntu:~$ apt-key fingerprint

/etc/apt/trusted.gpg
--------------------
pub   rsa2048 2010-06-22 [SC]
      D229 AF1C E5AE D74E 5F59  DF30 3A59 B536 6497 0947
uid           [ unknown] OpenModelica Build System <build@openmodelica.org>
sub   rsa2048 2010-06-22 [E]

Subsequent steps fail also.

Am I missing something?

Thanks in advance,
Kent

Re: Certificate Verification Failed During Ubuntu Focal Install

You need to update the ca-certificates package

Re: Certificate Verification Failed During Ubuntu Focal Install

That worked. Thanks!

Is the ca-certifcates install/update obvious to most Linux users or should it be included in the install instructions? My Linux/Unix knowledge is a bit outdated. I'm using a fresh install of the LTS without any changes.

I'm still having some other issues, but I'll try to work through them while updating my Linux knowledge.

Re: Certificate Verification Failed During Ubuntu Focal Install

I think most people press the upgrade button so the system will be up to date, but it takes some time before a new install is upgraded. New installs should have the newer ca-certificates package unless you have an older focal USB-stick, etc.

Re: Certificate Verification Failed During Ubuntu Focal Install

sjoelund.se wrote:

I think most people press the upgrade button so the system will be up to date, but it takes some time before a new install is upgraded. New installs should have the newer ca-certificates package unless you have an older focal USB-stick, etc.

You got it exactly right! I was running from a focal flash drive (without updates) while waiting for a new SSD to replace a bad hard drive. It arrived today and after a fresh focal install to the SSD and updates, OpenModelica install ran flawlessly.

Sorry for the bother, but maybe my missteps will help someone in the future.

There are 0 guests and 0 other users also viewing this topic
You are here: