Hi James. I had almost this exact issue 2 days ago and haven't managed to do fix it yet. Mine is always trying to connect to puppetdb instead of foreman.example.com and saying that the cert doesn't match the hostname. How did you manage to configure the puppetdb host/URL for foreman and the puppet master? I've tried a couple of things and is always trying to connect as puppetdb.
During puppetdb installation, it found the certs and copied them to the appropriate path so I think for me is the host name issue instead of wrong certificates. I had to stop testing it cause I was doing on a production server with 500 hosts and once you configure a puppetdb wrong everything stops working. Please write back if you manage to find a solution. I'll do the same if I find some time to work on it. Cheers -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscr...@googlegroups.com. To post to this group, send email to foreman-users@googlegroups.com. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.