Skip to content

Commit

Permalink
Merge pull request #200 from stac-utils/199-opensearch-ssl_version
Browse files Browse the repository at this point in the history
OpenSearch ssl_version
  • Loading branch information
jonhealy1 authored Feb 23, 2024
2 parents fb64209 + e893be8 commit 41b28b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stac_fastapi/opensearch/stac_fastapi/opensearch/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def _es_config() -> Dict[str, Any]:
return config

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

# Include CA Certificates if verifying certs
Expand Down

0 comments on commit 41b28b5

Please sign in to comment.