Update ssl certificate

Hi,
I have configured httpd with a new certificate and key I have received from the certificate authority.
The certificate is a wild card certificate so will not have to create a certificate for each of our servers, and will just need to add and alias for the server, so my puppet server name is puppet-dev.san.com and we added an alias for the server so it will be puppet-dev.ase.san.com so it will match the certificate wild card.
So far so good, I have changed the SSLCertificateFile and SSLCertificateKeyFile with the new certificate and key and restarted httpd and when running Foreman web ui certificate was valid.
But when running Puppet on the agents it seems like everything is working but reports were not been sent to Foreman so agents became out of sync.
I wonder If I can set something in foreman-installer and run it all over again?
any help would be appreciated

Thanks

Expected outcome:
Puppet and Foreman eco system will work with new alias and certificate

Foreman and Proxy versions:
Foreman Version: 3.31
Foreman Proxy Version: 3.3.1

Distribution and version:
Red Hat Enterprise Linux: 8.4