Warning apt update Subscription Manager on Ubuntu 24

Problem:
I have a problem on Ubuntu 24.04 and Foreman 3.11.2. After registering the Ubuntu client in Foreman, when I run the apt update command, I get the following warning:

To register the host on Foreman, I used subscription-manager provided by atix.de
Thank you for your help in removing this warning.

You have two options:

  1. Ignore those “Notification” level warnings.
  2. Set up APT repo signing on your Katello instance.

Unfortunately 2. is pretty involved and not well documented.

There is a really old thread describing APT repo signing setup here: Pulp_deb for pulp3 in Katello - #13 by quba42

There is also the pulp_deb component specific documentation here: Signing Service Creation - Pulp Project

This latter documentation is more up to date, but not Katello specific. For Katello to pick up on the signing service you create, it must be named katello_deb_sign.

I will also bring up internally if we can find some time to document this process properly.

Hello @quba42 ,

Thank you very much for your help and the solutions you provided! I will follow the documentation you shared.

Thanks again for your assistance.