Hey,
Ruby implementation and version: Not Sure
Rails version: Not sure
OS: rhel 7
DB: postgres
Ruby-aware server used: Webrick

When i'm using the web gui and trying to create new proxy for the first 
time after installing foreman on Server1 and foreman-proxy on Server2, I 
get the following error:
Unable to communicate with the proxy:ERF12-2530[ProxyAPI::ProxyException]: 
Unable to detect features ([OpenSSL::SSL:SSLError]: HOSTNAME "Server2" 
doesnot match the server certificate) for proxy 
https://Server2:8443/features
Please check the proxy is configured and running on the host.

This is how i created the crtificates:
I ran this command on Server1(where foreman and puppet are installed): 
puppet cert generate Server2.new
and after that I copied those files which were generated from:
private_keys/Server2.new
certs/Server2.new
and certs/ca.pem
I copied it to Server2 and in settings.yml I pointed the ca's to those new 
files.
ofcourse I changed the ownerships on those files to foreman-proxy so i can 
restart the service foreman-proxy proparley, and i also did some more 
instructions which provided in foreman website.
still could not add the Server2 to the proxies list in Server1 web gui.

Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to