I'm unable to get a smart-proxy on Puppet working. To simply test it, I'm 
working on importing classes / environments in Puppet and getting:

*Error: *ERF12-2749 [ProxyAPI::ProxyException]: Unable to get environments 
from Puppet ([OpenSSL::SSL::SSLError]: SSL_connect SYSCALL returned=5 
errno=0 state=SSLv2/v3 read server hello A) for proxy 
https://puppet.domain.com:8443/puppet

There's no error messages in proxy.log on the proxy.

Here's a look at settings.yml

:daemon: true
:trusted_hosts:
  - foreman-test.domain.com
  - foreman-test
  - foreman.domain.com
  - foreman
:foreman_url: https://foreman-test.domain.com
:forward_verify: false
:https_port: 8443
:http_port: 8000
:ssl_certificate: 
/etc/puppetlabs/puppet/ssl/certs/puppet-test.domain.com.pem
:ssl_private_key: 
/etc/puppetlabs/puppet/ssl/private_keys/puppet-test.domain.com.pem
:ssl_ca_file: /etc/puppetlabs/puppet/ssl/certs/ca.pem

puppet.yml

---
:enabled: https
:puppet_version: 4.9.2


puppet_proxy_puppet_api.yml

---
:puppet_url: https://puppet-test.domain.com:8140
:api_timeout: 30
:puppet_ssl_cert: 
/etc/puppetlabs/puppet/ssl/certs/puppet-test.domain.com.pem
:puppet_ssl_key: 
/etc/puppetlabs/puppet/ssl/private_keys/puppet-test.domain.com.pem
:puppet_ssl_ca: /etc/puppetlabs/puppet/ssl/certs/ca.pem

The one thing that has struck me as odd, is that the API request is going 
towards https://domain.com:8433/puppet. Shouldn't it be 
calling /puppet/v3/environments for importing environments 
and /puppet/v3/environment_classes for classes?

Help, links, docs... anything would be appreciated. 



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