Project

General

Profile

Actions

Bug #20226

open

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

Added by Johannes Black almost 7 years ago. Updated almost 7 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 #1

Updated by Johannes Black almost 7 years ago

My system is

Debian Jessie - AMD64

Actions #2

Updated by Johannes Black almost 7 years ago

Maybe the installer doesn't create the file but still complains because I have deactivated the

  • foreman-proxy-puppet
  • foreman-proxy-puppetca

options?

Actions #3

Updated by Johannes Black almost 7 years ago

And of course the

puppet-server

option is also deactivated because I want to use an external Puppet Server.

Actions #4

Updated by Anonymous almost 7 years ago

  • translation missing: en.field_release deleted (276)

Could please describe all the changes you're doing to the default config and what you need to achive at the end?

Actions

Also available in: Atom PDF