[Spacewalk-list] Spacewalk 2.7 - perl script "gen-oss-sat-cert.pl"
Gonçalo Miguel
gmiguel at neosbybold.com
Wed Jan 3 16:44:58 UTC 2018
Hello Michael,
I change the name on certificate ("Default Organization") so it was
necessary generate a new certificate and a new GPG key.
In an older installation of spacewalk I used the referred script to
change the GPG signature on the new certificate.
Reference: https://github.com/spacewalkproject/spacewalk/wiki/CertCreation
On 03-01-2018 13:53, Michael Mraka wrote:
> 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
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
More information about the Spacewalk-list
mailing list