Project

General

Profile

Actions

Bug #23635

closed

Agent Pre-established trust not working with Rudder 8.0 agent RHEL 7 on CentOS 7

Added by Michel BOUISSOU 9 months ago. Updated 9 months ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

Trying to establish pre-trust between a Rudder 8.0 server on RHEL 8 and a Rudder 8.0 agent for RHEL 7 on CentOS 7 doesn't work.

Server Rudder 8.0, Alma 8:

# rudder agent info

Key/Certificate
           Key hash: MD5=1ab3d58f439c2c15f8334f2a22ae30c2
           Key hash: sha256//+FBk7T9iR8YlBGw5hg99FMuow5cdLBTh5t+pdl9+CC4=
  Cert. fingerprint: BE:2D:47:D9:2A:1B:45:29:3D:A9:2C:E8:68:88:F2:E1:25:65:D4:35
        Key pinning: full

Agent Rudder 8.0, Alma 8:

# rudder agent policy-server -t sha256//+FBk7T9iR8YlBGw5hg99FMuow5cdLBTh5t+pdl9+CC4= 192.168.61.7
writing RSA key

Agent Rudder 8.0, CentOS 7:

# rudder agent policy-server -t sha256//+FBk7T9iR8YlBGw5hg99FMuow5cdLBTh5t+pdl9+CC4= 192.168.61.7
unable to load certificate
139852637140880:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:707:Expecting: TRUSTED CERTIFICATE
unable to load certificate
140569274202000:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:707:Expecting: TRUSTED CERTIFICATE
unable to load Public Key
error: Provided key sha256//+FBk7T9iR8YlBGw5hg99FMuow5cdLBTh5t+pdl9+CC4= doesn't match server key sha256//47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #24019: Embed openssl cli on 7.3ReleasedBenoît PECCATTEActions
Actions

Also available in: Atom PDF