Hi,
I take this Posting in an own Post. May be it goes down when its inline of
the original Post
(https://groups.google.com/forum/#!topic/foreman-users/6kBUMI_S63k)
My Setup
-
Foreman Instance (with its puppet CA)
-
Saltmaster with Saltapi & SmartProxy
On its own machines.
If I call "upload-salt-reports" on the smartproxy, the following Error
occurs.
Traceback (most recent call last):
File "/usr/sbin/upload-salt-reports", line 142, in <module>
upload(jobs_to_upload())
File "/usr/sbin/upload-salt-reports", line 117, in upload
json.dumps(job), headers)
File "/usr/lib/python2.7/httplib.py", line 1001, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1035, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 997, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 850, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 812, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 1212, in connect
server_hostname=server_hostname)
File "/usr/lib/python2.7/ssl.py", line 350, in wrap_socket
_context=self)
File "/usr/lib/python2.7/ssl.py", line 566, in init
self.do_handshake()
File "/usr/lib/python2.7/ssl.py", line 788, in do_handshake
self._sslobj.do_handshake()
SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
(_ssl.c:581)
If put some debug output to the upload-salt-reports
These are the parameters used to upload reports.
Host vmg-utf-foreman-100.to3.zone.loc
Port 443
SSLK
/var/lib/puppet/ssl/private_keys/vmg-utf-saltmaster-100.to3.zone.loc.pem
SSLC /var/lib/puppet/ssl/certs/vmg-utf-saltmaster-100.to3.zone.loc.pem
If I am right, it takes the config-values from /etc/salt/foreman.yaml
Hope someone can help me out.
– Tom