[Spacewalk-list] Spacewalk 2.7 - perl script "gen-oss-sat-cert.pl"

Michael Mraka michael.mraka at redhat.com
Wed Jan 3 13:53:16 UTC 2018


Gonçalo Miguel:
> 
> there is any similiar script to signing a certificate that does not
> use SatelliteCert.pm module?
> this module look to be removed from spacewalk packages.
> Any solution?

Hello Miguel,

Why do you need that certificate? All the code around entitlement
certificates has been removed in Satellite 2.6.


> On 03-01-2018 04:33, Paul Robert Marino wrote:
> >that indicates a missing perl module.
> >Im not sure about that tool i think it is an old one, it
> >definitely is missing the path for the RHN perl modules which
> >should be referenced in a use lib statement in the beginning of
> >the script, or the module is not installed.
> >
> >On Tue, Jan 2, 2018 at 11:55 AM, Gonçalo Miguel
> ><gmiguel at neosbybold.com <mailto:gmiguel at neosbybold.com>> wrote:
> >
> >    Hi all,
> >
> >    I'm trying to signing a certificate using the perl script
> >    gen-oss-sat-cert.pl <http://gen-oss-sat-cert.pl>
> >    (https://raw.githubusercontent.com/spacewalkproject/spacewalk/8fc3ed894d644a755df4d25604f814d85a125c50/scripts/gen-oss-sat-cert.pl
> >    <https://raw.githubusercontent.com/spacewalkproject/spacewalk/8fc3ed894d644a755df4d25604f814d85a125c50/scripts/gen-oss-sat-cert.pl>)
> >    but without success.
> >
> >    Error
> >
> >    Can't locate RHN/SatelliteCert.pm in @INC (@INC contains:
> >    /usr/local/lib64/perl5 /usr/local/share/perl5
> >    /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
> >    /usr/lib64/perl5 /usr/share/perl5 .) at gen-oss-sat-cert.pl
> >    <http://gen-oss-sat-cert.pl> line 7.
> >    BEGIN failed--compilation aborted at gen-oss-sat-cert.pl
> >    <http://gen-oss-sat-cert.pl> line 7.
> >
> >
> >    Package spacewalk-admin is installed.
> >
> >    rpm -qa | grep spacewalk-admin
> >    spacewalk-admin-2.7.1-1.el7.noarch
> >
> >    Any help please?
> >
> >    BR,
> >    Gonçalo


Regards,

--
Michael Mráka
System Management Engineering, Red Hat




More information about the Spacewalk-list mailing list