Project

General

Profile

Actions

Bug #17332

closed

At relay install time, if the domain is not defined the server certificate can not be issued

Added by Félix DALLIDET almost 4 years ago. Updated almost 4 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

At install time I had the following error on sles15 on a machine where the /etc/hosts was not correctly defined:

(54/56) Installing: rudder-server-relay-1398866025:6.1.0.beta2-1.SLES.15.x86_64 .........................................................................................................[done]
Additional rpm output:
INFO: Creating users ... Done
INFO: Configuring systemd services...Created symlink /etc/systemd/system/multi-user.target.wants/rudder-relayd.service -> /usr/lib/systemd/system/rudder-relayd.service.
Created symlink /etc/systemd/system/rudder-server.service.requires/rudder-relayd.service -> /usr/lib/systemd/system/rudder-relayd.service.
 Done
INFO: No usable SSL certificate detected for Rudder relay HTTPS support, generating one automatically...hostname: Name or service not known
hostname: Name or service not known
hostname: Name or service not known
Error Loading extension section server_cert
140512027293504:error:2206D06D:X509 V3 routines:X509V3_parse_list:invalid null value:crypto/x509v3/v3_utl.c:352:
140512027293504:error:22097069:X509 V3 routines:do_ext_nconf:invalid extension string:crypto/x509v3/v3_conf.c:93:name=subjectAltName,section=DNS:
140512027293504:error:22098080:X509 V3 routines:X509V3_EXT_nconf:error in extension:crypto/x509v3/v3_conf.c:47:name=subjectAltName, value=DNS:
warning: %post(rudder-server-relay-1398866025:6.1.0.beta2-1.SLES.15.x86_64) scriptlet failed, exit status 1

Actions #1

Updated by Félix DALLIDET almost 4 years ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #2

Updated by Félix DALLIDET almost 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder/pull/2949
Actions #3

Updated by Félix DALLIDET almost 4 years ago

server:~ # hostname
server
server:~ # hostname --fqdn
hostname: Name or service not known
server:~ # hostname --fqdn || hostname
hostname: Name or service not known
server
server:~ # hostname --fqdn 2>/dev/null|| hostname
server
server:~ # 
Actions #4

Updated by Félix DALLIDET almost 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Vincent MEMBRÉ almost 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.1.0~beta3 which was released today.

Actions

Also available in: Atom PDF