Red Hat SATELLITE 5.1.0 RELEASE NOTES Spezifikationen Seite 86

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 137
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 85
9.1.1 Configure GPG and Sign the javaApp package
Target System: sat-vm
1. Create GPG key for RPM
# gpg –gen-key
1. Take the defaults
2. DSA
3. 2048 Bits
4. Doesn't expire
5. Provide “Real Name”
6. Provide “Email Address”
7. Provide “Comment”
2. Get the GPG key
# gpg --list-keys --fingerprint
/root/.gnupg/pubring.gpg
------------------------
pub 1024D/F24F1B08 2002-04-23 [expired: 2004-04-22]
Key fingerprint = D8CC 06C2 77EC 9C53 372F C199 B1EE 1799 F24F
1B08
uid Red Hat, Inc (Red Hat Network) <rhn-
pub 1024D/25AA0649 2011-03-19
Key fingerprint = C663 9B55 4CC5 985B F5CA BA15 1080 39D1 25AA
0649
uid Scott Collier (application key)
sub 2048g/D4C4DF51 2011-03-19
3. Place the GPG key in ~/.rpmmacros with the following content
# cat ~/.rpmmacros
%_signature gpg
%_gpg_name C15579CF
4. Resign the rpm
# rpm --resign javaApp-2-0.noarch.rpm
5. Check the signature on the rpm
# rpm --checksig javaApp-2-0.noarch.rpm
6. Export the key so clients can import it
www.redhat.com 86
Seitenansicht 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 ... 136 137

Kommentare zu diesen Handbüchern

Keine Kommentare