Project

General

Profile

Actions

Bug #20226

open

Doesn't find/generate the 'foreman.someurl.de.pem' file

Added by Johannes Black almost 8 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi,

the puppet-agent seems to generate the puppet private and pulbic keys in a wrong

/etc/puppetlabs/puppet/ssl/private_keys/foreman.someurl.de.pem
/etc/puppetlabs/puppet/ssl/public_keys/foreman.someurl.de.pem

but the puppet-agent doesn't seem to generate

/etc/puppetlabs/puppet/ssl/certs/foreman.someurl.de.pem

ERROR 2017-07-06 13:04:05 main] Jul 06 13:04:02 foreman apache26602: Starting web server: apache2 failed!
[ERROR 2017-07-06 13:04:05 main] Jul 06 13:04:02 foreman apache26602: The apache2 configtest failed. ... (warning).
[ERROR 2017-07-06 13:04:05 main] Jul 06 13:04:02 foreman apache26602: Output of config test was:
[ERROR 2017-07-06 13:04:05 main] Jul 06 13:04:02 foreman apache26602: AH00526: Syntax error on line 30 of /etc/apache2/sites-enabled/05-foreman-ssl.conf:
[ERROR 2017-07-06 13:04:05 main] Jul 06 13:04:02 foreman apache26602: SSLCertificateFile: file '/etc/puppetlabs/puppet/ssl/certs/foreman.someurl.de.pem' does not exist or is empty
[ERROR 2017-07-06 13:04:05 main] Jul 06 13:04:02 foreman apache26602: Action 'configtest' failed.
[ERROR 2017-07-06 13:04:05 main] Jul 06 13:04:02 foreman apache26602: The Apache error log may have more information.
[ERROR 2017-07-06 13:04:05 main] Jul 06 13:04:02 foreman systemd1: apache2.service: control process exited, code=exited status=1

-
root@foreman:~# puppet --version
4.10.4

Is it a problem at Foreman?

Actions

Also available in: Atom PDF