----- Original Message -----
> From: "Samiron Mallick" <samiron.mall...@gmail.com>
> To: spacewalk-list@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@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-feedb...@redhat.com >
> sub 2048g/C71F2F5C 2004-02-18 [expires: 2023-02-05]
> 
> pub 4096R/35D94537 2015-05-19
> uid SpaceWalk (SpaceWalk Certificate Key) < samiron.mall...@gmail.com
> >
> sub 4096R/0C2969D1 2015-05-19
> 
> [root@spacewalk ~]# perl gen-oss-sat-cert.pl --signer 35D94537
> --resign spacewalk-public.cert
> Unterminated <> operator at gen-oss-sat-cert.pl line 1.
> 
> [root@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@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 <to...@testing.rh>"
Signatures validation succeeded.
Certificate saved as /tmp/spacewalk-public.cert


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

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to