Skip to content

Commit 41b28b5

Browse files
authored
Merge pull request #200 from stac-utils/199-opensearch-ssl_version
OpenSearch ssl_version
2 parents fb64209 + e893be8 commit 41b28b5

File tree

1 file changed

+1
-1
lines changed
  • stac_fastapi/opensearch/stac_fastapi/opensearch

1 file changed

+1
-1
lines changed

stac_fastapi/opensearch/stac_fastapi/opensearch/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def _es_config() -> Dict[str, Any]:
2727
return config
2828

2929
# Include SSL settings if using https
30-
config["ssl_version"] = ssl.TLSVersion.TLSv1_3 # type: ignore
30+
config["ssl_version"] = ssl.PROTOCOL_SSLv23 # type: ignore
3131
config["verify_certs"] = os.getenv("ES_VERIFY_CERTS", "true").lower() != "false" # type: ignore
3232

3333
# Include CA Certificates if verifying certs

0 commit comments

Comments
 (0)