<div dir="ltr">Thanks for the reply Tomas.<div><br></div><div>I was trying to generate it from the OS RHEL7. </div><div><br></div><div>Later I did the same on EL6 and succeeded. and then imported the key to the space walk server.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">

<p><b><i><span style="color:gray"><span style="font-size:13.3333330154419px">Thank</span>s,</span></i></b><i><span style="color:gray"></span></i></p>
<p><b><span style="color:gray;font-size:10pt">Sam</span></b><br><b><i><span style="font-size:9pt;font-family:Arial;color:black;background:none repeat scroll 0% 0% white"></span></i></b><span style="font-size:9pt"></span>

</p></div></div></div>
<br><div class="gmail_quote">On Mon, May 25, 2015 at 2:48 PM, Tomas Lestach <span dir="ltr"><<a href="mailto:tlestach@redhat.com" target="_blank">tlestach@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">----- Original Message -----<br>
> From: "Samiron Mallick" <<a href="mailto:samiron.mallick@gmail.com">samiron.mallick@gmail.com</a>><br>
> To: <a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a><br>
> Sent: Tuesday, May 19, 2015 5:09:14 PM<br>
> Subject: [Spacewalk-list] Unterminated <> operator at <a href="http://gen-oss-sat-cert.pl" target="_blank">gen-oss-sat-cert.pl</a>     line 1<br>
><br>
><br>
><br>
><br>
><br>
> Hello Everyone,<br>
><br>
> I am not sure if any one has faced such issues while resigning certs<br>
> for spacewalk 2.3 on centos 7. While trying to execute<br>
</span>> <a href="http://gen-oss-sat-cert.pl" target="_blank">gen-oss-sat-cert.pl</a> , i am getting "Unterminated <> operator at<br>
<span class="">> <a href="http://gen-oss-sat-cert.pl" target="_blank">gen-oss-sat-cert.pl</a> line 1" error.<br>
><br>
><br>
> If there is anything i need to do separately please let me know.<br>
> These steps worked for me while I installed Spacewalk 2.2 /<br>
> 2.3-nightly on centos 6.<br>
><br>
><br>
> [root@spacewalk ~]# gpg --keyring /etc/webapp-keyring.gpg<br>
> --no-default-keyring --list-keys<br>
> /etc/webapp-keyring.gpg<br>
> -----------------------<br>
> pub 1024D/06947932 2004-02-18 [expires: 2023-02-05]<br>
> uid Red Hat Network (Satellite Certificate Signing Key) <<br>
> <a href="mailto:rhn-feedback@redhat.com">rhn-feedback@redhat.com</a> ><br>
> sub 2048g/C71F2F5C 2004-02-18 [expires: 2023-02-05]<br>
><br>
> pub 4096R/35D94537 2015-05-19<br>
> uid SpaceWalk (SpaceWalk Certificate Key) < <a href="mailto:samiron.mallick@gmail.com">samiron.mallick@gmail.com</a><br>
> ><br>
> sub 4096R/0C2969D1 2015-05-19<br>
><br>
> [root@spacewalk ~]# perl <a href="http://gen-oss-sat-cert.pl" target="_blank">gen-oss-sat-cert.pl</a> --signer 35D94537<br>
> --resign spacewalk-public.cert<br>
> Unterminated <> operator at <a href="http://gen-oss-sat-cert.pl" target="_blank">gen-oss-sat-cert.pl</a> line 1.<br>
><br>
> [root@spacewalk ~]# uname -a<br>
> Linux spacewalk.mydomain 3.10.0-229.4.2.el7.x86_64 #1 SMP Wed May 13<br>
> 10:06:09 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux<br>
> [root@spacewalk ~]# cat /etc/redhat-release<br>
> CentOS Linux release 7.1.1503 (Core)<br>
><br>
<br>
</span>Hello,<br>
I do not think, there's special requirements.<br>
I always take the latest <a href="http://gen-oss-sat-cert.pl" target="_blank">gen-oss-sat-cert.pl</a> from master of spacewalk.git and run it on my Spacewalk 2.3 on RHEL6:<br>
<br>
$ perl <a href="http://gen-oss-sat-cert.pl" target="_blank">gen-oss-sat-cert.pl</a> --signer 0D5837AF --resign /tmp/spacewalk-public.cert<br>
Passphrase:<br>
config web.db_backend not in master config list in PXT::Config at /usr/share/perl5/vendor_perl/PXT/Config.pm line 159.<br>
config web.db_name not in master config list in PXT::Config at /usr/share/perl5/vendor_perl/PXT/Config.pm line 159.<br>
config web.db_host not in master config list in PXT::Config at /usr/share/perl5/vendor_perl/PXT/Config.pm line 159.<br>
config web.db_user not in master config list in PXT::Config at /usr/share/perl5/vendor_perl/PXT/Config.pm line 159.<br>
config web.db_password not in master config list in PXT::Config at /usr/share/perl5/vendor_perl/PXT/Config.pm line 159.<br>
gpg: Signature made Mon 25 May 2015 11:06:22 AM CEST using RSA key ID 0D5837AF<br>
gpg: Good signature from "Tomas Testing <tomas@testing.rh>"<br>
Signatures validation succeeded.<br>
Certificate saved as /tmp/spacewalk-public.cert<br>
<br>
<br>
Regards,<br>
--<br>
Tomas Lestach<br>
Red Hat Satellite Engineering, Red Hat<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
</blockquote></div><br></div></div>