Closed lijie123bes closed 6 months ago
Does your OpenSearch host have valid certs or is it a localhost installation? If it's the latter, follow the guide and add verify_certs = False
.
client = OpenSearch(
...
use_ssl = True,
verify_certs = False
)
I'll close this, but feel free to comment/reopen if this issue is not solved with the above.
Describe the bug
I tried connecting to opensearch using python client but getting SSL Error. OpenSearch Version: 2.0.1 Python Version:3.6 public IP of the opensearch host: 10.83.5.67
Related component
Other
To Reproduce
Expected behavior
connect using python client
Additional Details
Plugins Please list all plugins currently enabled.
Screenshots If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context Add any other context about the problem here.