This file is usually automatically created when you install your spacewalk 
server per the usual installation guides.  It's usually installed under that 
path.  Additionally, it's rolled up as an rpm under /var/www/html/pub (at least 
under RHEL5).  

Now, if you need to directly create the file, you can run the command 
'rhn-ssl-tool' on your spacewalk server.  However, I'm not sure exactly what 
this script does as I've not called it directly, however I know it is 
responsible for generating your self-signed SSL certs for the spacewalk server 
and I believe this is what is actually called during the normal spacewalk 
server installation tools.

If you are running this on a host that is NOT your spacewalk server, i.e. a 
spacewalk client, then that should have been installed as part of the bootstrap 
process to add that client to spacewalk (I'm assuming you didn't kickstart this 
host from spacewalk).  For an example of a client bootstrap script look under 
/var/www/html/pub/bootstrap or run the command 'rhn-bootstrap' on the spacewalk 
server.

Thx
Gopher.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Paul Brunck
Sent: Wednesday, January 23, 2013 11:58 AM
To: <[email protected]>
Subject: Re: [Spacewalk-list] Using mrepo with Spacewalk 1.8

This is the way I understood it initially, but doesn't answer my first 
question.  Gensystemid will not work without this file: 
/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT.  I still don't know how I acquire the 
certificate.

"[root@server ~]# gensystemid -u xxx -p xxx --release=5Server --arch=x86_64 
/var/satellite/mrepo/rhel-server-5/
ERROR: can not find RHNS CA file:: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT"


On Jan 23, 2013, at 2:48 AM, Tom Brown <[email protected]> wrote:

> 
> 
>> If you follow the link on the mrepo project page 
>> (http://dag.wieers.com/home-made/mrepo/) it specifically says to use 
>> gensystemid when creating local repositories.  If I try to sync it fails 
>> because there are no rhn ids for the directories I want to sync to, which is 
>> what I understand gensystemid is supposed to create.
>> 
> 
> 
> you use gensystemid on the host that is going to be downloading the packages, 
> this host can download packages for multiple channels, RHEL5, RHEL6 etc etc - 
> This is used alongside the rhn creds that are actually used to login to rhn.
> 
> thanks
> 
> 
> _______________________________________________
> Spacewalk-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/spacewalk-list


_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to