일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- springboot
- API
- sort
- 900gle
- Python
- 파이썬
- aggs
- Mac
- matplotlib
- zip 암호화
- Test
- zip 파일 암호화
- high level client
- 차트
- flask
- Elasticsearch
- query
- MySQL
- token filter test
- ELASTIC
- Kafka
- license delete
- License
- TensorFlow
- licence delete curl
- aggregation
- analyzer test
- docker
- plugin
- Java
Archives
- Today
- Total
개발잡부
ValueError: Root certificates are missing for certificate validation. Either pass them in using the ca_certs parameter or install certifi to use it automatically. 본문
Python
ValueError: Root certificates are missing for certificate validation. Either pass them in using the ca_certs parameter or install certifi to use it automatically.
닉의네임 2022. 5. 10. 14:09반응형
문재가 이건디
File "/Users/doo/opt/anaconda3/envs/doo/lib/python3.7/site-packages/elasticsearch/client/__init__.py", line 203, in __init__
self.transport = transport_class(_normalize_hosts(hosts), **kwargs)
File "/Users/doo/opt/anaconda3/envs/doo/lib/python3.7/site-packages/elasticsearch/transport.py", line 154, in __init__
self.set_connections(hosts)
File "/Users/doo/opt/anaconda3/envs/doo/lib/python3.7/site-packages/elasticsearch/transport.py", line 212, in set_connections
connections = list(zip(connections, hosts))
File "/Users/doo/opt/anaconda3/envs/doo/lib/python3.7/site-packages/elasticsearch/transport.py", line 208, in _create_connection
return self.connection_class(**kwargs)
File "/Users/doo/opt/anaconda3/envs/doo/lib/python3.7/site-packages/elasticsearch/connection/http_urllib3.py", line 188, in __init__
"Root certificates are missing for certificate "
elasticsearch.exceptions.ImproperlyConfigured: Root certificates are missing for certificate validation. Either pass them in using the ca_certs parameter or install certifi to use it automatically.
ValueError: Root certificates are missing for certificate validation. Either pass them in using the ca_certs parameter or install certifi to use it automatically.
pip install
pip install certifi
#이걸 추가했더니 되네
verify_certs=False
client = Elasticsearch("https://user_id:user_pass@host:443/", ca_certs=False, verify_certs=False )
반응형
'Python' 카테고리의 다른 글
SSL 어쩌고 해서 .. (0) | 2022.05.26 |
---|---|
Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings (0) | 2022.05.26 |
[python] python elasticsearch client (0) | 2022.04.28 |
[python] 파이썬기초 2 (0) | 2022.04.22 |
Conda (0) | 2022.03.31 |
Comments