Import Elastic DNF/Yum repos into Artifactory

I want to include this repo.

[elastic-8.x]
name=Elastic repository for 8.x packages
baseurl=https://artifacts.elastic.co/packages/8.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md

And this key.

https://packages.elastic.co/GPG-KEY-elasticsearch

However, because the repo is not hosted with directory listing enabled, Artifactory cannot import it. It needs a repo like CentOS. Arti needs this dir listing so it can retrieve all necessary information to clone the repo, including the key.

Has anyone made this work already? Or is this simply a dead end? Because in that case, I'll just use the regular repo and key, but it's not great performance for large clusters.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.