[prev in list] [next in list] [prev in thread] [next in thread] 

List:       spacewalk-list
Subject:    Re: [Spacewalk-list] [SOLVED] The SSL certificate failed verification.
From:       Chirag Choudhary <chirag200666 () gmail ! com>
Date:       2013-09-30 19:46:09
Message-ID: CACS8Zr9RFvSZYjdgPAiztE9vzO6vgOAfNdVgkLFt0aAu_otXfA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,
    Thanks for the help.
You were correct that it was due to invalidation of ssl certificates so,
For making spacewalk work I changed the URL of up2date server from https to
http and it is now working as charm.
I only kept the other local repo and removed everything else, then also it
worked without giving any error.


Thanks again to all . :)


On Wed, Sep 25, 2013 at 6:50 PM, Jonathan Hoser <
jonathan.hoser@helmholtz-muenchen.de> wrote:

>  Chirag,
>
> that's something I stumbled upon some time ago:
> Somehow the curl-libs ... used by the python-layer is invalidating
> otherwise fine SSL certificates;
>
> You can look into this using
> URLGRABBER_DEBUG=1 yum update
> together with high log-levels in /etc/yum.conf
>
> What I found will resolve the issue, is getting new libcurl versions:
> c-ares-1.10.0-1.0.cf.rhel6.x86_64.rpm
> curl-7.30.0-2.0.cf.rhel6.x86_64.rpm
> libcurl-7.30.0-2.0.cf.rhel6.x86_64.rpm
> libssh2-1.4.3-6.0.cf.rhel6.x86_64.rpm
>
> packaged into a file called curlUp.tar, the following (bash) commands will
> resolve the issue (at least it did for me):
>
> tar -xf curlUp.tar
>
> #disable SSL for packages, otherwise we'll fail again right away
> sed -i "s/useNoSSLForPackages=0/useNoSSLForPackages=1/g"
> /etc/sysconfig/rhn/up2date
>
> #install the curl 'update'
> yum -y localinstall --nogpgcheck *.rpm
>
> #reenable the SSL for packages
> sed -i "s/useNoSSLForPackages=1/useNoSSLForPackages=0/g"
> /etc/sysconfig/rhn/up2date
>
>
>
> Best
> -Jonathan
>
>
>
> On 09/25/2013 02:35 PM, Chirag Choudhary wrote:
>
> From Web, and one of them is spacewalk repo for rhel :
> http://spacewalk.redhat.com/yum/2.0/RHEL/6/x86_64/
>
>
>
>  Thanks & Regards
>
>
> On Wed, Sep 25, 2013 at 5:56 PM, Thomas Foster <thomas.foster80@gmail.com>wrote:--
>  Chirag Choudhary,
> Software Engineer
>
>
>
> --
> Jonathan Hoser, M.Sc.
> Institute of Bioinformatics and System Biology
>
> WWW: http://mips.helmholtz-muenchen.de
>
>
> ------------------------------
> Helmholtz Zentrum München
> Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
> Ingolstädter Landstr. 1
> 85764 Neuherberg
> www.helmholtz-muenchen.de
> Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
> Geschäftsführer: Prof. Dr. Günther Wess Dr. Nikolaus Blum Dr. Alfons Enhsen
> Registergericht: Amtsgericht München HRB 6466
> USt-IdNr: DE 129521671
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>



-- 
Chirag Choudhary,
Software Engineer

[Attachment #5 (text/html)]

<div dir="ltr">Hi,<div>    Thanks for the help.</div><div>You were correct that it \
was due to invalidation of ssl certificates so,</div><div>For making spacewalk work I \
changed the URL of up2date server from https to http and it is now working as \
charm.</div>

<div>I only kept the other local repo and removed everything else, then also it \
worked without giving any error.</div><div><br></div><div><br></div><div>Thanks again \
to all . :)<br><div class="gmail_extra"><br><br><div class="gmail_quote">

On Wed, Sep 25, 2013 at 6:50 PM, Jonathan Hoser <span dir="ltr">&lt;<a \
href="mailto:jonathan.hoser@helmholtz-muenchen.de" \
target="_blank">jonathan.hoser@helmholtz-muenchen.de</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex">





<div bgcolor="#FFFFFF" text="#000000">
<div>Chirag,<br>
<br>
that&#39;s something I stumbled upon some time ago:<br>
Somehow the curl-libs ... used by the python-layer is invalidating otherwise fine SSL \
certificates;<br> <br>
You can look into this using <br>
URLGRABBER_DEBUG=1 yum update<br>
together with high log-levels in /etc/yum.conf<br>
<br>
What I found will resolve the issue, is getting new libcurl versions:<br>
c-ares-1.10.0-1.0.cf.rhel6.x86_64.rpm<br>
curl-7.30.0-2.0.cf.rhel6.x86_64.rpm<br>
libcurl-7.30.0-2.0.cf.rhel6.x86_64.rpm<br>
libssh2-1.4.3-6.0.cf.rhel6.x86_64.rpm<br>
<br>
packaged into a file called curlUp.tar, the following (bash) commands will resolve \
the issue (at least it did for me):<br> <br>
tar -xf curlUp.tar<br>
<br>
#disable SSL for packages, otherwise we&#39;ll fail again right away<br>
sed -i &quot;s/useNoSSLForPackages=0/useNoSSLForPackages=1/g&quot; \
/etc/sysconfig/rhn/up2date<br> <br>
#install the curl &#39;update&#39;<br>
yum -y localinstall --nogpgcheck *.rpm<br>
<br>
#reenable the SSL for packages<br>
sed -i &quot;s/useNoSSLForPackages=1/useNoSSLForPackages=0/g&quot; \
/etc/sysconfig/rhn/up2date<br> <br>
<br>
<br>
Best<br>
-Jonathan<div class="im"><br>
<br>
<br>
On 09/25/2013 02:35 PM, Chirag Choudhary wrote:<br>
</div></div>
<blockquote type="cite"><div class="im">

<div dir="ltr">From Web, and one of them is spacewalk repo for rhel : <a \
href="http://spacewalk.redhat.com/yum/2.0/RHEL/6/x86_64/" \
target="_blank">http://spacewalk.redhat.com/yum/2.0/RHEL/6/x86_64/</a> <div> </div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks &amp; Regards</div>
</div>
</div><div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Sep 25, 2013 at 5:56 PM, Thomas Foster <span \
dir="ltr"> &lt;<a href="mailto:thomas.foster80@gmail.com" \
target="_blank">thomas.foster80@gmail.com</a>&gt;</span> wrote:-- <br>
</div>
<div dir="ltr">Chirag Choudhary,
<div>Software Engineer</div>
</div>
</div>
</blockquote>
<br>
<br>
<pre cols="72">-- 
Jonathan Hoser, M.Sc.
Institute of Bioinformatics and System Biology

WWW: <a href="http://mips.helmholtz-muenchen.de" \
target="_blank">http://mips.helmholtz-muenchen.de</a>

</pre>
<br>
<hr>
<font face="Arial" color="Black" size="1">Helmholtz Zentrum München<br>
Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)<br>
Ingolstädter Landstr. 1<br>
85764 Neuherberg<br>
<a href="http://www.helmholtz-muenchen.de" \
                target="_blank">www.helmholtz-muenchen.de</a><br>
Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe<br>
Geschäftsführer: Prof. Dr. Günther Wess Dr. Nikolaus Blum Dr. Alfons Enhsen<br>
Registergericht: Amtsgericht München HRB 6466<br>
USt-IdNr: DE 129521671<br>
</font>
</div>

<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><br \
clear="all"><div><br></div>-- <br><div dir="ltr">Chirag Choudhary,<div>

Software Engineer</div></div>
</div></div></div>



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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic