Skip to content

Commit c5003a9

Browse files
committed
fix: tls v1.2
1 parent 4b71ed8 commit c5003a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mcp_scan/verify_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ async def analyze_scan_path(
114114

115115
# explicitly creating the ssl context sidesepts SSL issues
116116
ssl_context = ssl.create_default_context(cafile=certifi.where())
117+
ssl_context.minimum_version = ssl.TLSVersion.TLSv1_2
117118

118119
if verbose:
119120
logger.debug("aiohttp: SSL context created - verify_mode=%s, check_hostname=%s",

0 commit comments

Comments
 (0)