Need help with attaching new smart-proxy using SSL

Hi all,
I have created new smart-proxy and want to attache it to a remote Foreman.
So far, i have installed the foreman-proxy generated new certificated and
added to foreman-proxy/settings.yaml

When creating the new smart-proxy in Foreman i get the following error
message:

Unable to communicate with the proxy: ERF12-2530
[ProxyAPI::ProxyException]: Unable to detect features
([OpenSSL::SSL::SSLError]: SSL_connect returned=1 errno=0 state=SSLv3 read
server certificate B: certificate verif…) for proxy
https://172.31.3.240:8443/features
Please check the proxy is configured and running on the host.

Th desired configuration is:

  • one Foreman and one local smart-proxy on remote lab managing DHCP, DNS,
    puppet, puppetca, TFTP
  • another remote lab that i would like to be managed by the same foreman
    and that smart-proxy will manage different DHCP, DNS, TFTP servers for its
    LAB.
  1. Please explain what should be the exact steps for adding new smart-proxy
    to remote Foreman that BTW already manages a local smart-proxy successfully.
  2. Should i install and configure puppetca in the new smart-proxy?

Thanks