Skip to content

Commit 2efdd41

Browse files
committed
use TLSv1_3
1 parent e7fd47d commit 2efdd41

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/config.py

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

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

3232
# Include CA Certificates if verifying certs

0 commit comments

Comments
 (0)