Adding smart proxy - "Unable to communicate with proxy" - No such file or directory

Hi,

I'm trying to add my puppetmaster as a Smart Proxy (foreman is on the same
box) but I get this error (domain changed to example.com for example's
sake):

Unable to communicate with the proxy: No such file or directory -
/var/lib/puppet/ssl/certs/deval.example.com.pem

That's the hostname of the master, but the certname is puppet.example.com
so it should be looking for that. I've looked in all the config files I can
find and foreman's settings table but I can't see any reference to
deval.example.com. Could something in Foreman be assuming that
fqdn==certname? The error seems to be the same regardless of the URL so I
think it might be where Foreman's looking for a client certificate.

>
> Unable to communicate with the proxy: No such file or directory -
> /var/lib/puppet/ssl/certs/deval.example.com.pem
>

Don't mind me - I found the offending setting under Administer > Settings
> Provisioning
. I'm still getting the hang of all the flags provided by
foreman-installer, working out which ones supply which configuration file.
I get a different error now, but it's something unrelated that I think I
know how to fix.