You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 27, 2018. It is now read-only.
The following error was presented on an Ubuntu 14.04 server with Python 2.7.6:
TASK [mariadb-connector-java : download archive] **********************************************************************************************************
fatal: [ehprod]: FAILED! => {"changed": false, "msg": "Failed to validate the SSL certificate for downloads.mariadb.com:443. Make sure your managed systems have a valid CA certificate installed. If the website serving the url uses SNI you need python >= 2.7.9 on your managed machine (the python executable used (/usr/bin/python) is version: 2.7.6 (default, Nov 23 2017, 15:49:48) [GCC 4.8.4]) or you can install the urllib3, pyOpenSSL, ndg-httpsclient, and pyasn1 python modules to perform SNI verification in python >= 2.6. You can use validate_certs=False if you do not need to confirm the servers identity but this is unsafe and not recommended. Paths checked for this platform: /etc/ssl/certs, /etc/pki/ca-trust/extracted/pem, /etc/pki/tls/certs, /usr/share/ca-certificates/cacert.org, /etc/ansible. The exception msg was: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed."}
Seems like an incompatibility with Python 2.7.6 on the target host. Redefining the host with
ansible_python_interpreter: /usr/bin/python3
makes it work.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The following error was presented on an Ubuntu 14.04 server with Python 2.7.6:
TASK [mariadb-connector-java : download archive] **********************************************************************************************************
fatal: [ehprod]: FAILED! => {"changed": false, "msg": "Failed to validate the SSL certificate for downloads.mariadb.com:443. Make sure your managed systems have a valid CA certificate installed. If the website serving the url uses SNI you need python >= 2.7.9 on your managed machine (the python executable used (/usr/bin/python) is version: 2.7.6 (default, Nov 23 2017, 15:49:48) [GCC 4.8.4]) or you can install the
urllib3
,pyOpenSSL
,ndg-httpsclient
, andpyasn1
python modules to perform SNI verification in python >= 2.6. You can use validate_certs=False if you do not need to confirm the servers identity but this is unsafe and not recommended. Paths checked for this platform: /etc/ssl/certs, /etc/pki/ca-trust/extracted/pem, /etc/pki/tls/certs, /usr/share/ca-certificates/cacert.org, /etc/ansible. The exception msg was: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed."}Seems like an incompatibility with Python 2.7.6 on the target host. Redefining the host with
makes it work.
The text was updated successfully, but these errors were encountered: