Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: SSL_connect error after up2date client upgrade

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Discussion topic

Back to topic list

Re: SSL_connect error after up2date client upgrade

Reply

Author Sebastien BLAISOT <sebastien at blaisot dot org>
Full name Sebastien BLAISOT <sebastien at blaisot dot org>
Date 2003-09-17 23:17:03 PDT
Message Juan Pablo Abuyeres wrote:
> on the client, you have to
>
> cd /usr/share/rhn/
>
> and put there YOUR RHNS-CA-CERT
>
> when you upgraded up2date client, the rpm package overwrote that file.

A better way to do this is to put your RHNS-CA-CERT in a file with an
other name (by example MY-RHNS-CA-CERT) and to add a line in
/etc/sysconfig/rhn/up2date that reads :

sslCACert[comment]=The CA cert used to verify the ssl server
sslCACert=/usr/share​/rhn/MY-RHNS-CA-CERT​

this way, when you upgrade up2date using RedHat's up2date RPM, it
overwrite the RHNS-CA-CERT file but doesn't destroy your MY-RHNS-CA-CERT
file.

And, as it detects that your up2date config file was changed from the
first install, it will NOT overwrite it. it will instead create a new
one with the name up2date.rpmnew

this way, you can update the up2date package and also use up2date for
updating up2date.
if you name your file RHNS-CA-CERT and have up2date updated by up2date
in the middle of a bunch of updates, this could be problematic and lead
to communication errors during up2date (at the end), because the file
changed while up2date was running (after installing the packages,
up2date communicate again with the rhn server to send him the list of
updated packages on the system, IIRC).

regards,

--
S. BLAISOT


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
For additional commands, e-mail: users-help at current dot tigris dot org

« Previous message in topic | 4 of 5 | Next message in topic »

Messages

Show all messages in topic

SSL_connect error after up2date client upgrade td3201 Terry 2003-09-17 06:43:42 PDT
     Re: SSL_connect error after up2date client upgrade Juan Pablo Abuyeres <jpabuyer at tecnoera dot com> Juan Pablo Abuyeres <jpabuyer at tecnoera dot com> 2003-09-17 07:47:22 PDT
         Re: SSL_connect error after up2date client upgrade hunterm Hunter Matthews 2003-09-17 10:28:48 PDT
         Re: SSL_connect error after up2date client upgrade Sebastien BLAISOT <sebastien at blaisot dot org> Sebastien BLAISOT <sebastien at blaisot dot org> 2003-09-17 23:17:03 PDT
         Re: SSL_connect error after up2date client upgrade td3201 Terry 2003-09-18 07:09:45 PDT
Messages per page: