Foreman deleting host leaves certificate on puppetserver intact

Hello Foreman user,

Infos:
Puppetserver 4.10.0
Foreman: 1.14.3
Foreman-Proxy: 1.14.3

After upgrading to puppetserver 4 deleting hosts in Foreman leaves
certificate on puppetserver intact.

Configfiles:

/etc/foreman-proxy/Settings.d/puppetca.yml

··· --- # PuppetCA managment :enabled: https :ssldir: /etc/puppetlabs/puppet/ssl :puppetdir: /etc/puppetlabs/puppet

/etc/foreman-proxy/settings.d/puppet.yml

:enabled: https
:puppet_version: 4.10.0

Puppetserver and Foreman are on same machine. Foreman-Proxy is running.
If i delete a host in Foreman i can see nothing in the logfile

/var/log/foreman-proxy/proxy.log

But the communication between Foreman and Foreman-Proxy are OK.

If i list all signed certificates in Foreman and look in the logfile
/var/log/foreman-proxy/proxy.log i see

Found puppetca at /opt/puppetlabs/bin/puppet
Found sudo at /usr/bin/sudo
Executing /usr/bin/sudo -S /opt/puppetlabs/bin/puppet cert --ssldir
/etc/puppetlabs/puppet/ssl --list --all

and in Foreman i see all signed certificates.

Any idea? Can anyone help please.

Regards
mobios

Problem is solved. I forgot: edit host -> and then set to managed :slight_smile: