[Solved] Omnibus install PPA script fails with PGP error on fresh Ubuntu 24 install

Summary
Omnibus install PPA script fails with PGP error on fresh Ubuntu 24 install

Steps to reproduce
Fresh Ubuntu 24.01, Omnibus install instructions PPA script after installing latest key.
Script ends with: gpg: no valid OpenPGP data found.
I troubleshot script and found similar error with Nginx key install in script.
Attempted CA update with Nginx CA certs but same error.

Expected behavior
Expect to install software to continue evaluation but not getting past first basic steps without significant errors.

Observed behavior
ids@mm:~$ curl -o- https://deb.packages.mattermost.com/repo-setup.sh | sudo bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6766 100 6766 0 0 13169 0 --:–:-- --:–:-- --:–:-- 13189
gpg: no valid OpenPGP data found.
ids@mm:~$ curl https://nginx.org/keys/nginx_signing.key curl: (60) SSL: no alternative certificate subject name matches target host name β€˜nginx.org’
More details here: curl - SSL CA Certificates
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

Well after much troubleshooting I found the issue to be my own firewall with GeoBlocking not allowing the connection to Nginx and the Cert error was the firewall cert not matching nginx.org
More specific errors would have helped, but in the end not a mattermost script issue…
Tom

1 Like

Thank you so much Tom for following up with the solution! Glad to hear all is working for you now. :raised_hands:t2: