observerss / pygodaddy

3rd Party Client Library for Manipulating Go Daddy DNS Records.
https://pygodaddy.readthedocs.org/
Other
37 stars 30 forks source link

Login fails because SSL Certificate cannot be verified #23

Open tapm opened 7 years ago

tapm commented 7 years ago

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 516, in urlopen body=body, headers=headers) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 304, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 724, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 237, in connect ssl_version=resolved_sslversion) File "/usr/lib/python3/dist-packages/urllib3/util/ssl.py", line 123, in ssl_wrap_socket return context.wrap_socket(sock, server_hostname=server_hostname) File "/usr/lib/python3.4/ssl.py", line 364, in wrap_socket _context=self) File "/usr/lib/python3.4/ssl.py", line 577, in init self.do_handshake() File "/usr/lib/python3.4/ssl.py", line 804, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 362, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 543, in urlopen raise SSLError(e) urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "godaddy-dyndns.py", line 19, in config.get('godaddy', 'password')) File "/usr/local/lib/python3.4/dist-packages/pygodaddy/client.py", line 99, in login r = self.session.get(self.default_url) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 469, in get return self.request('GET', url, kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 457, in request resp = self.send(prep, send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 569, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 420, in send raise SSLError(e, request=request) requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)

tkin91e55 commented 7 years ago

https://github.com/eXamadeus/godaddypy , I was having the same problem and resolved it by this repo