SSLError CERTIFICATE_VERIFY_FAILED
rikrdo89 opened this issue · 1 comments
rikrdo89 commented
I installed fdp without issues using pip install freenom-dns-updater
Then, I attempted to update an IP address using fdu record update my@email.com mypassword mysite.com
and I get the error below:
requests.exceptions.SSLError: HTTPSConnectionPool(host='my.freenom.com', port=443): Max retries exceeded with url: /clientarea.php (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)'),))
liujunhui2 commented
It turns out that the package used a copy of ca certs located in /usr/lib/python2.7/site-packages/freenom_dns_updater/data/chain.pem which is outdated.
ln -s /etc/pki/tls/cert.pem chain.pem (cd into the directory first) solved the problem.