Setting up foreman with multiple domains

Hello,

I want to set up foreman with two different subnets/domains. I already set
up foreman with the initial setup on Debian 8 for one network but now I am
facing problems settting up an additional domain/subnet on it. I would like
to serve the additional subnet with a different domain/certificate than the
one already set up as they are completely separate. DNS is already working
on both subnets, but foreman always serves the certificate from the first
subnet/domain.

I already generated the puppet certificates for the additional domain but
how can I set the certificates for the right subnets/donains?

Thank you

Alfred