Nexus IQ CLI download fails on Fedora dnf/yum GPG key issue

Hi there,

I’ve tried to install nexus-iq-cli tool via yum/dnf on Fedora 38.
Followed the instructions here:
https://help.sonatype.com/iqserver/integrations/nexus-iq-cli#NexusIQCLI-Linux

Installation fails:

Downloading Packages:
nexus-iq-cli-1.166.0-01+674.x86_64.rpm          221 kB/s |  27 MB     02:03    
--------------------------------------------------------------------------------
Total                                           221 kB/s |  27 MB     02:03     
Sonatype Hosted                                 155  B/s | 2.4 kB     00:16    
Importing GPG key 0x42410699:
 Userid     : "Integrations Group <integrations-shared-group@sonatype.com>"
 Fingerprint: BC36 1DAB B840 C060 98CB BA7B 1157 89AE 4241 0699
 From       : https://repo.sonatype.com/repository/sonatype-hosted/pki/rpm-gpg/RPM-GPG-KEY-Sonatype-yum.asc
Is this ok [y/N]: y
error: Certificate 115789AE42410699:
  The certificate is expired: The primary key is not live
Key import failed (code 2). Failing package is: nexus-iq-cli-1.166.0-674.x86_64
 GPG Keys are configured as: https://repo.sonatype.com/repository/sonatype-hosted/pki/rpm-gpg/RPM-GPG-KEY-Sonatype-yum.asc
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED
1 Like