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
There is no default support for secure elasticsearch parameters communications such as XPACK protected cluster. (suspect others like SHIELD and SearchGaurd protected clusters will have similar requirements)
(Verified workaround on Elasticsearch 5.6.3 with XPACK enabled)
Suggest adding additional (or potentially optional) dependency (pip install certifi) and add line
import certifi
to import section of import_testssl.sh_csv_to_ES.py
Note: When using non-public CA for elasticsearch cluster, you must also append CA (and Intermediate, if required) to certifi cacert.pem chain.
cat root-ca.pem >> /usr/lib/python3.4/site-packages/certifi/cacert.pem
cat intermediate-ca.pem >> /usr/lib/python3.4/site-packages/certifi/cacert.pem
(Tested Python 3.4 on CentOS 7.4)
Enables (XPACK enabled cluster with encrypted communications and authentication)
./import_testssl.sh_csv_to_ES.py *.csv --elasticsearch https://username:[email protected]:9200
where username, has been granted write privileges to testssl-* indexes
The text was updated successfully, but these errors were encountered:
There is no default support for secure elasticsearch parameters communications such as XPACK protected cluster. (suspect others like SHIELD and SearchGaurd protected clusters will have similar requirements)
(Verified workaround on Elasticsearch 5.6.3 with XPACK enabled)
Suggest adding additional (or potentially optional) dependency (pip install certifi) and add line
import certifi
to import section of import_testssl.sh_csv_to_ES.py
Note: When using non-public CA for elasticsearch cluster, you must also append CA (and Intermediate, if required) to certifi cacert.pem chain.
cat root-ca.pem >> /usr/lib/python3.4/site-packages/certifi/cacert.pem
cat intermediate-ca.pem >> /usr/lib/python3.4/site-packages/certifi/cacert.pem
(Tested Python 3.4 on CentOS 7.4)
Enables (XPACK enabled cluster with encrypted communications and authentication)
./import_testssl.sh_csv_to_ES.py *.csv --elasticsearch https://username:[email protected]:9200
The text was updated successfully, but these errors were encountered: