Trying to register node to RH Satellite: import read failed(0).

Latest response

Hi all,

I am trying to register some servers to our RH Satellite using bootstrap script. While running it I get the following message:
error: RHN-ORG-TRUSTED-SSL-CERT: import read failed(0).

When use "set -x" in the bootstrap script and run it again I get the following messages:

+ for GPG_KEY in '$(echo "$ORG_GPG_KEY" | tr "," " ")'
+ rm -f RHN-ORG-TRUSTED-SSL-CERT                      
+ /usr/bin/wget -q -r -nd --no-check-certificate https://our-server/pub/RHN-ORG-TRUSTED-SSL-CERT
++ LC_ALL=C                                                                                                  
++ rpm -q --queryformat '%{version}' up2date                                                                 
++ sed -e 's/\..*//g'                                                                                        
+ res='package up2date is not installed'                                                                     
+ '[' 'xpackage up2date is not installed' == x2 ']'                                                          
+ rpm --import RHN-ORG-TRUSTED-SSL-CERT                                                                      
error: RHN-ORG-TRUSTED-SSL-CERT: import read failed(0).                                                      
+ echo                                                                                                       

+ echo '* attempting to install corporate public CA cert'
* attempting to install corporate public CA cert         
+ '[' 0 -eq 1 ']'                                        
+ rm -f RHN-ORG-TRUSTED-SSL-CERT                         
+ /usr/bin/wget -q -r -nd --no-check-certificate https://our-server/pub/RHN-ORG-TRUSTED-SSL-CERT
+ mv RHN-ORG-TRUSTED-SSL-CERT /usr/share/rhn/                                                                
+ '[' yum == zypper ']'                                                                                      
+ echo                                                                                                       

Can anybody tell me what is wrong with it ?

Responses