Page 1 of 1

CERTIFICATE_VERIFY_FAILED

Posted: 2020/05/04 14:27:06
by jejedu67
Hello,

I try to use dome9 on my CentoS 7 server.


[root@******** Dome9Agent-1.6.2]# dome9d pair -k m6e3d66vx3w7ta7qwc6
2020-05-04 16:23:45,734 INFO Pairing Agent....
2020-05-04 16:23:46,025 CRITICAL Pairing error
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/dome9/daemon.py", line 236, in pair
self.options.secgroups)
File "/usr/lib/python2.7/site-packages/dome9/agent/agent.py", line 279, in do_pairing
c.request("POST", self.PAIR_URL, request_data, request_headers)
File "/usr/lib64/python2.7/httplib.py", line 1056, in request
self._send_request(method, url, body, headers)
File "/usr/lib64/python2.7/httplib.py", line 1090, in _send_request
self.endheaders(body)
File "/usr/lib64/python2.7/httplib.py", line 1052, in endheaders
self._send_output(message_body)
File "/usr/lib64/python2.7/httplib.py", line 890, in _send_output
self.send(msg)
File "/usr/lib64/python2.7/httplib.py", line 852, in send
self.connect()
File "/usr/lib/python2.7/site-packages/dome9/agent/verifiedhttpsconnection.py", line 34, in connect
ca_certs=self.ca_certs
File "/usr/lib64/python2.7/ssl.py", line 934, in wrap_socket
ciphers=ciphers)
File "/usr/lib64/python2.7/ssl.py", line 609, in __init__
self.do_handshake()
File "/usr/lib64/python2.7/ssl.py", line 831, in do_handshake
self._sslobj.do_handshake()
SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)

Do you know how to fix CERTIFICATE_VERIFY_FAILED ?

/etc/python/cert-verification.cfg
verify=disable

And I restart the server, but problem not fixed.

Thank you