[Spacewalk-list] Unterminated <> operator at gen-oss-sat-cert.pl line 1

Tomas Lestach tlestach at redhat.com
Mon May 25 09:18:17 UTC 2015


----- Original Message -----
> From: "Samiron Mallick" <samiron.mallick at gmail.com>
> To: spacewalk-list at redhat.com
> Sent: Tuesday, May 19, 2015 5:09:14 PM
> Subject: [Spacewalk-list] Unterminated <> operator at gen-oss-sat-cert.pl	line 1
> 
> 
> 
> 
> 
> Hello Everyone,
> 
> I am not sure if any one has faced such issues while resigning certs
> for spacewalk 2.3 on centos 7. While trying to execute
> gen-oss-sat-cert.pl , i am getting "Unterminated <> operator at
> gen-oss-sat-cert.pl line 1" error.
> 
> 
> If there is anything i need to do separately please let me know.
> These steps worked for me while I installed Spacewalk 2.2 /
> 2.3-nightly on centos 6.
> 
> 
> [root at spacewalk ~]# gpg --keyring /etc/webapp-keyring.gpg
> --no-default-keyring --list-keys
> /etc/webapp-keyring.gpg
> -----------------------
> pub 1024D/06947932 2004-02-18 [expires: 2023-02-05]
> uid Red Hat Network (Satellite Certificate Signing Key) <
> rhn-feedback at redhat.com >
> sub 2048g/C71F2F5C 2004-02-18 [expires: 2023-02-05]
> 
> pub 4096R/35D94537 2015-05-19
> uid SpaceWalk (SpaceWalk Certificate Key) < samiron.mallick at gmail.com
> >
> sub 4096R/0C2969D1 2015-05-19
> 
> [root at spacewalk ~]# perl gen-oss-sat-cert.pl --signer 35D94537
> --resign spacewalk-public.cert
> Unterminated <> operator at gen-oss-sat-cert.pl line 1.
> 
> [root at spacewalk ~]# uname -a
> Linux spacewalk.mydomain 3.10.0-229.4.2.el7.x86_64 #1 SMP Wed May 13
> 10:06:09 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> [root at spacewalk ~]# cat /etc/redhat-release
> CentOS Linux release 7.1.1503 (Core)
> 

Hello,
I do not think, there's special requirements.
I always take the latest gen-oss-sat-cert.pl from master of spacewalk.git and run it on my Spacewalk 2.3 on RHEL6:

$ perl gen-oss-sat-cert.pl --signer 0D5837AF --resign /tmp/spacewalk-public.cert
Passphrase: 
config web.db_backend not in master config list in PXT::Config at /usr/share/perl5/vendor_perl/PXT/Config.pm line 159.
config web.db_name not in master config list in PXT::Config at /usr/share/perl5/vendor_perl/PXT/Config.pm line 159.
config web.db_host not in master config list in PXT::Config at /usr/share/perl5/vendor_perl/PXT/Config.pm line 159.
config web.db_user not in master config list in PXT::Config at /usr/share/perl5/vendor_perl/PXT/Config.pm line 159.
config web.db_password not in master config list in PXT::Config at /usr/share/perl5/vendor_perl/PXT/Config.pm line 159.
gpg: Signature made Mon 25 May 2015 11:06:22 AM CEST using RSA key ID 0D5837AF
gpg: Good signature from "Tomas Testing <tomas at testing.rh>"
Signatures validation succeeded.
Certificate saved as /tmp/spacewalk-public.cert


Regards,
--
Tomas Lestach
Red Hat Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list