Skip to content

Commit

Permalink
Cont.
Browse files Browse the repository at this point in the history
  • Loading branch information
0rnela committed Jun 3, 2024
1 parent 43385e0 commit 33e0f06
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions modules/administration/pages/repo-metadata.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@

You require a custom GPG key to be able to sign repository metadata.

.Procedure: Generating a Custom GPG Key
[IMPORTANT]
====
To access a shell inside the Server container run [literal]``mgrctl term`` on the container host.
====

.Procedure: Generating a Custom GPG Key
. As the root user, use the [command]``gpg`` command to generate a new key:
+
----
Expand All @@ -21,13 +25,13 @@ mgrctl exec -- gpg --gen-key
You can check by listing the keys in your keyring:
+
----
mgrctl exec -- gpg --list-keys
gpg --list-keys
----
+
. Add the password for your keyring to the [filename]``/etc/rhn/signing.conf`` configuration file, by opening the file in your text editor and adding this line:
+
----
mgrctl exec -- GPGPASS="password"
GPGPASS="password"
----

For renewing a GPG key, see xref:administration:troubleshooting/tshoot-sync.adoc[].
Expand Down

0 comments on commit 33e0f06

Please sign in to comment.