I’m trying to install pritunl-client-electron in Ubuntu 24.04 and the gpg key doesn’t work, steps to reproduce:
sudo tee /etc/apt/sources.list.d/pritunl.list << EOF
deb https://repo.pritunl.com/stable/apt noble main
EOF
sudo apt --assume-yes install gnupg
gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 7568D9BB55FF9E5287D586017AE645C0CF8E292A
gpg --armor --export 7568D9BB55FF9E5287D586017AE645C0CF8E292A | sudo tee /etc/apt/trusted.gpg.d/pritunl.asc
sudo apt update
Err:2 repo .pritunl. com/stable/apt noble InRelease
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 172.67.72.248 443]
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
8 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
W: repo .pritunl. com/stable/apt/dists/noble/InRelease: No system certificates available. Try installing ca-certificates.
W: repo .pritunl. com/stable/apt/dists/noble/InRelease: No system certificates available. Try installing ca-certificates.
W: repo. pritunl. com/stable/apt/dists/noble/InRelease: No system certificates available. Try installing ca-certificates.
W: repo .pritunl .com/stable/apt/dists/noble/InRelease: No system certificates available. Try installing ca-certificates.
W: Failed to fetch repo .pritunl .com/stable/apt/dists/noble/InRelease Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 172.67.72.248 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.
sudo apt install pritunl-client-electron
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package pritunl-client-electron
Note: I had to edit the output because I’m not allowed to post that much http links.