Project

General

Profile

Actions

Support #18008

open

Having problem with adding new smart-proxies

Added by Shahaf Benita over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Smart Proxy
Target version:
-
Triaged:
Fixed in Releases:
Found in Releases:

Description

*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.*


Related issues 1 (0 open1 closed)

Has duplicate Foreman - Bug #18007: Can't assign new proxy to my foreman systemDuplicateShahaf Benita01/10/2017Actions
Actions #1

Updated by Dominic Cleal over 7 years ago

  • Has duplicate Bug #18007: Can't assign new proxy to my foreman system added
Actions

Also available in: Atom PDF