Re: [foreman-users] Re: Foreman Proxy is not recognized

2016-07-29 Thread Sai Krishna
Hi Dominic, > I have generated certificates in foreman server according to the > puppetmaster hostname. The smart proxy (puppetmaster) has added to the > smart proxy list in foreman GUI. Error is resolved. > After that when am trying to add Puppet classes am getting below *error > on Fo

Re: [foreman-users] Re: Foreman Proxy is not recognized

2016-07-29 Thread Dominic Cleal
On 28/07/16 16:08, Sai Krishna wrote: > # see http://theforeman.org/projects/smart-proxy/wiki/SSL for > more information > > :ssl_ca_file: /var/lib/puppet/ssl/certs/ca.pem > > :ssl_certificate: /var/lib/puppet/ssl/certs/puppetmaster.com.pem > > :ssl_privat

Re: [foreman-users] Re: Foreman Proxy is not recognized

2016-07-28 Thread Sai Krishna
puppet cert generate new-puppetmaster.example.com am generating new certs for puppetmaster on foreman server and replacing new certs in puppetmaster is this correct way ? Please advice Sai Krishna -- You received this message because you are subscribed to the Google Groups "Foreman users" g

Re: [foreman-users] Re: Foreman Proxy is not recognized

2016-07-28 Thread Sai Krishna
/etc/foreman-proxy/settings.d/puppet_proxy_puppet_api.yml > >>- --- >>- # URL of the puppet master itself for API requests. >>- :puppet_url: https://puppetmaster:8140 >>- # SSL certificates used to access the puppet API >>- :puppet_ssl_ca: /etc/puppetlabs/puppet/ssl/certs/ca.

[foreman-users] Re: Foreman Proxy is not recognized

2016-07-28 Thread Sai Krishna
Dylan I have enabled http_port: 8000, firewall has the port open and have restarted the foreman-proxy there is no change in the error. Sai Krishna -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop recei

Re: [foreman-users] Re: Foreman Proxy is not recognized

2016-07-28 Thread Sai Krishna
> > # see http://theforeman.org/projects/smart-proxy/wiki/SSL for more >> information >> > :ssl_ca_file: /var/lib/puppet/ssl/certs/ca.pem > > :ssl_certificate: /var/lib/puppet/ssl/certs/puppetmaster.com.pem > > :ssl_private_key: /var/lib/puppet/ssl/private_keys/puppetmaster.com.pem > > :trusted_

Re: [foreman-users] Re: Foreman Proxy is not recognized

2016-07-28 Thread Dominic Cleal
On 27/07/16 21:43, Sai Krishna wrote: > *[ERROR 2016-07-27 16:13:21 main] Errors encountered during run:* > *[ERROR 2016-07-27 16:13:21 main] Evaluation Error: Error while > evaluating a Function Call, undefined class/module HighLine:: at > /usr/share/gems/gems/kafo-0.9.1/modules/kafo_configure/ma

Re: [foreman-users] Re: Foreman Proxy is not recognized

2016-07-28 Thread Dominic Cleal
On 27/07/16 20:27, Sai Krishna wrote: > I have changed the /etc/foreman-proxy/settings.yml file. I have change > trusted host and foreman_url from puppetmaster to foremanvers FQDN. is > this a wrong move ? > > # the hosts which the proxy accepts connections from > # commenting the following lines

[foreman-users] Re: Foreman Proxy is not recognized

2016-07-27 Thread Dylan Baars
No you don't want to change the https port, you want to enable http so you'll have :https_port: 8443 :http_port: 8000 you then need to restart the proxy (systemctl restart foreman-proxy), make sure the local firewall has that port open - firewall-cmd --permanent --zone=public --add-port="8000/

[foreman-users] Re: Foreman Proxy is not recognized

2016-07-27 Thread Sai Krishna
> > Hi Dylan, > Appreciate your reply. # http is disabled by default. To enable, uncomment 'http_port' setting # https is enabled if certificate, CA certificate, and private key are present in locations specifed by # ssl_certificate, ssl_ca_file, and ssl_private_key correspondingly # default va

[foreman-users] Re: Foreman Proxy is not recognized

2016-07-27 Thread Dylan Baars
Hi Sai, your SSL error sounds exactly like this issue: http://projects.theforeman.org/issues/15530 For my proxy, settings.yml as this as trusted hosts and reverse communications entries: # the hosts which the proxy accepts connections from # commenting the following lines would mean every veri

[foreman-users] Re: Foreman Proxy is not recognized

2016-07-27 Thread Sai Krishna
using foreman - installer in interactive mode enabled puppet and foreman proxy and configured according to https://theforeman.org/manuals/1.12/index.html#3.2.3InstallationScenarios | setting up foreman with external puppet master. Preparing installation Done Something went wrong! Check the lo

[foreman-users] Re: Foreman Proxy is not recognized

2016-07-27 Thread Sai Krishna
I have changed the /etc/foreman-proxy/settings.yml file. I have change trusted host and foreman_url from puppetmaster to foremanvers FQDN. is this a wrong move ? # the hosts which the proxy accepts connections from # commenting the following lines would mean every verified SSL connection allowe