Error while adding Smart proxies

Problem:
Hi
I am getting the following error while create a smart proxy.
Unable to save * Unable to communicate with the proxy: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([RestClient::SSLCertificateNotVerified]: SSL_connect returned=1 errno=0 state=error: certificate verify failed (self-signed certificate)) for proxy https://foreman-smartproxy-faisal.kstm.lab.net:8443/v2/features

  • Please check the proxy is configured and running on the host.

Expected outcome:
Adding the Smart proxy
Foreman and Proxy versions:
3.10
Foreman and Proxy plugin versions:
3.10

Distribution and version:
3.10

Other relevant data: