elasticsearch.exceptions.SSLError: ConnectionError([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1076)) caused by: SSLError([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1076))解决
加上context.verify_mode = ssl.CERT_NONE:
import ssl from elasticsearch.connection import create_ssl_context ssl_context = create_ssl_context(
评论列表(0条)