Hello.
I have an internal reposerver where I sync the zabbix repo to host internally to other servers that don't have internet access. But when I try to sync the zabbix repo, I get a GPG signature check error. The servers we use are Rocky Linux 9. The steps I have done so far, is:
dnf install https://repo.zabbix.com/zabbix/6.4/r...el9.noarch.rpm
--> This installs the repo on the internal repo server
The /etc/yum.repos.d/zabbix.repo then looks like this
[zabbix]
name=Zabbix Official Repository - $basearch
baseurl=https://repo.zabbix.com/zabbix/6.4/rhel/9/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-08EFA7DD
[zabbix-non-supported]
name=Zabbix Official Repository non-supported - $basearch
baseurl=https://repo.zabbix.com/non-supported/rhel/9/$basearch/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-08EFA7DD
gpgcheck=1
And the key is placed here: /etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-08EFA7DD
I then do reposync to host the repo to other servers:
dnf reposync -g --delete -p /path/to/folder/for/web/server/ --repoid=zabbix --newest-only --download-metadata
But I get an error: GPG signature check failed
What am I missing? It works when setting gpgcheck=0, but that's not really an alternative.
I have an internal reposerver where I sync the zabbix repo to host internally to other servers that don't have internet access. But when I try to sync the zabbix repo, I get a GPG signature check error. The servers we use are Rocky Linux 9. The steps I have done so far, is:
dnf install https://repo.zabbix.com/zabbix/6.4/r...el9.noarch.rpm
--> This installs the repo on the internal repo server
The /etc/yum.repos.d/zabbix.repo then looks like this
[zabbix]
name=Zabbix Official Repository - $basearch
baseurl=https://repo.zabbix.com/zabbix/6.4/rhel/9/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-08EFA7DD
[zabbix-non-supported]
name=Zabbix Official Repository non-supported - $basearch
baseurl=https://repo.zabbix.com/non-supported/rhel/9/$basearch/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-08EFA7DD
gpgcheck=1
And the key is placed here: /etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-08EFA7DD
I then do reposync to host the repo to other servers:
dnf reposync -g --delete -p /path/to/folder/for/web/server/ --repoid=zabbix --newest-only --download-metadata
But I get an error: GPG signature check failed
What am I missing? It works when setting gpgcheck=0, but that's not really an alternative.
Comment