Rhn_register there was an ssl error

rhn_register there was an ssl error

For every yum command it will return SSL certificate. When I write rhn_register in text- mode I get the following error message: "There was an SSL error: [('SSL routines', SSL3_GET_SERVER_CERTIFICATE'. Getting same issue, replacing rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm with rhn-org-trusted-ssl-cert-1.0-2.noarch.rpm did the trick.

Rhn_register there was an ssl error - think

Linked In

spacewalk: ERROR "failed SSL connection - bad or expired cert? Proxy activation failed! Installation interrupted"

My Oracle Support Banner

Last updated on MAY 18, 2021

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Oracle Linux 6.0 and later
Linux x86-64
Linux x86

Symptoms

 While installing the spacewalk proxy server below error  is received:

[[email protected] rhn]# /usr/sbin/configure-proxy.sh
Using RHN parent (from /etc/sysconfig/rhn/up2date): spacewalk-server.com
Using CA Chain (from /etc/sysconfig/rhn/up2date): /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
HTTP Proxy []:
Proxy version to activate [2.6]:
Traceback email []:
Use SSL [Y/n]: n
Regardless of whether you enabled SSL for the connection to the Spacewalk Parent
Server, you will be prompted to generate an SSL certificate.
This SSL certificate will allow client systems to connect to this Spacewalk Proxy
securely. Refer to the Spacewalk Proxy Installation Guide for more information.
Organization []:
Organization Unit [spacewalk-proxy.com]:
Common Name [spacewalk-proxy.com]:
City []:
State []:
Country code []:
Email []:
Cname aliases (separated by space) []:
ERROR: failed SSL connection - bad or expired cert?
Proxy activation failed! Installation interrupted.
ERROR: failed SSL connection - bad or expired cert?
There were some answers you had to enter manually.
Would you like to have written those into file
formatted as answers file? [Y/n]: n

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document


Oracle offers a comprehensive and fully integrated stack of cloud applications and platform services. For more information about Oracle (NYSE:ORCL), visit oracle.com.
� Oracle Legal Notices

Spacewalk rhnreg_ks ssl certificate failed verification

Spacewalk 2.6 on CentOS7

Registering client: CentOS6.8

trying to register CentOS client with

Errors with: The SSL certificate Failed Verification

up2date error reads

Things I've tried:

  1. Verified Time/date on client and server

  2. Disabled firewalld on server

  3. tested https connection with firefox on client to spacewalk server

Edit: noteworthy info (possibly)

When I imported the ssl certificate earlier with the following:

it successfully imported but also gave a warning: The dynamic CA configuration feature is in the disabled state.

Not sure if this warning is related to my issue.

EDIT2: Browsed out to http://YourSpacewalk.example.com/pub/ and noticed there was another SSL cert labled rhn-org-trusted-ssl-cert-1.0-2 so I modified the above command to reflect the new file.

Once done, I ran the rhnreg_ks command and it successfully connected! I forgot that I had Spacewalk setup before and had to reinstall spacewalk from the start due to some errors and corrupt files which created a new SSL cert appending the name with a 1.0-2 instead of replacing 1.0-1

Communities Facebook

rhn_register fails with ssl cert verification even when passing sslcacert option #37473

ISSUE TYPE
COMPONENT NAME

rhn_register

ANSIBLE VERSION
CONFIGURATION

DEFAULT_HOST_LIST(/home/v683653/development/ops/redhat/ansible/ansible.cfg) = [u'/home/v683653/development/ops/redhat/ansible/inventory/hosts.inv']

OS / ENVIRONMENT

Red Hat Enterprise Linux Server release 7.4 (Maipo)

SUMMARY

When attempting to rhn_register there was an ssl error a host the action fails with SSL certificate validation. My satellite host is using a self signed certificate, but I am using the sslcacert option to point to the RHN-ORG-TRUSTED-SSL-CERT

STEPS TO REPRODUCE

A system that was previously registered and a satellite rebuild. All hosts need to be registered again.
Move /etc/sysconfig/rhn/systemid to /etc/sysconfig/rhn/systemid.old
use rhn_register plugin to register

--- - name: Re-register hosts with soctxrhs01 after rebuild.become: yeshosts: allgather_facts: notasks: - name: Unregister the system.command: mv /etc/sysconfig/rhn/systemid /etc/sysconfig/rhn/systemid.old - name: Re-register the system.rhn_register: state: presentactivationkey: <redacted>sslcacert: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERTchannels: rhel-x86_64-server-7,rhel-x86_64-server-extras-7,rhel-x86_64-server-optional-7,rhel-x86_64-server-supplementary-7,rhn-tools-rhel-x86_64-server-7,epel_repo_rhel7_x86_64register: results - debug: msg="{{ results }}"
EXPECTED RESULTS

I expected the system to be registered to the satellite.

ACTUAL RESULTS

Failed with SSL certificate error.

Connect with us

Red Hat

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Why inactive slave bonding received network package in redhat?

bond0 active in eth0 and inactive in eth4. why eth4 received network package? Bonding Mode: fault-tolerance (active-backup) Primary Slave: eth0 (primary_reselect failure) Currently Active Slave: eth0 MII Status: up MII Polling Interval (ms): 100 Up Delay (ms): 0 Down Delay (ms): 0 . (4 Replies)

Discussion started by: samran35

4 Replies

2. UNIX for Dummies Questions & Answers

Redhat - network question

Hi, I am on Redhat 5. on the /etc/sysconfig/network file I don't see GATEWAY as one line. I also checked /etc/sysconfig/network-scripts/ifcfg-eth0. I don't see GATEWAY. But on the server. But when I do netstat -rn, rhn_register there was an ssl error. I see many address. Is there some other settings ? . (2 Replies)

Discussion started by: samnyc

2 Replies

3. Red Hat

Problem in RedHat Cluster Node while network Failure or in Hang mode

Hi, We are having many RedHat linux Server with Cluster facility for availability of service like HTTPD / MySQL. We face some issue while some issue related to power disturbance / fluctuation or Network failure, rhn_register there was an ssl error. There is two Cluster Node configured in. (0 Replies)

Discussion started by: hirenkmistry

0 Replies

4. Red Hat

Redhat disabling network interface - IRQ issue

Hi. I'm having problems on multiple Red Hat VM's (on esxi) whereby the network interface IRQ is disabled by the OS. This is the error from dmesg: command: Write(10): 2a 00 03 42 3f e0 00 00 08 00 mptscsih: ioc0: task abort: SUCCESS (sc=ffff81018b45c680) irq 67: nobody cared (try. (0 Replies)

Discussion started by: badoshi

0 Replies

5. Red Hat

vxvm problem in redhat 5.4

Hi I have a problem related to vxvm. I am using redhat5.4 64 bit vxassist -g mydg growto my-vol 2G (Actually when i am running this command then this command is not increasing the size of volume but this command is running fine and the size which i have given to my volume it has been reduced. (0 Replies)

Discussion started by: life008

0 Replies

6. Red Hat

Registro Redhat Network

Buenas, Tengo 3 sistemas registrados en redhat network; hace un mes modificamos las ip's de los mismos pero en redhat network igue poniendo las antiguas. Como puedo modificarlas? tengo q registrar los sistemas de nuevo? Otra cosilla, he intentado actualizar packages y erratas: en actualizar ahora. (4 Replies)

Discussion started by: fuentepinel

4 Replies

7. Forum Support Area for Unregistered Users & Account Problems

Problem with registration

When I'm trying to register it says that my e-mail adress )is banned by administrator. Why? Thanks PS The same problem occurs with other 2 adresses I have (1 Reply)

Discussion started by: Mihail

1 Replies

8. UNIX for Dummies Questions & Answers

vi problem, sco -> redhat

I rlogin from a sco box to a redhat box and run /bin/vi. Pgup, Pgdn, and arrow up/down keys don't work, rhn_register there was an ssl error. I enter "export TERM=ansi80x25" and run vi again.Everything works just like I like it. Except the cursor turns into a blinking overscore. When I exit vi and close the connection to redhat. (2 Replies)

Discussion started by: bussyw

2 Replies

9. UNIX for Dummies Questions & Answers

Network Issue between Linux and RedHat (both on VMWare)

Hi All My first post so I hope it's ok. I have VMware workstation 5.0.0 build-13124 on an XP professional box. Within the VMware environment I have two virtual systems. The first is a Red Hat Linux (3.2.2-5) box and the second is an XP Home (sp2) box. When setting up both virtual boxes I set. (1 Reply)

Discussion started by: The_Lo_King

1 Replies

All times are GMT -4. The time now is 11:56 AM.

Unix & Linux Forums Content Copyright 1993-2022. 3dmax error code 126 Rights Reserved.

Privacy Policy

Legal Notices rhn_register there was an ssl error Support Twitter Communities

Mine very: Rhn_register there was an ssl error

BALD TERROR - DRUMMACHINE NEOPHYTE REMIX MP3
NEUROSHELL 2 ERROR 6 OVERFLOW
Rhn_register there was an ssl error
rhn_register there was an ssl error

1 Comments

Leave a Comment