fix(ssl): validate CA bundle paths before provider calls

This commit is contained in:
Teknium
2026-06-13 21:14:32 -07:00
parent b42c5bf652
commit af5b526472
6 changed files with 96 additions and 124 deletions
-7
View File
@@ -34,13 +34,6 @@ except ModuleNotFoundError:
import logging
logger = logging.getLogger(__name__)
# Early SSL certificate guard (after hermes_bootstrap)
try:
from agent.ssl_guard import verify_ca_bundle_with_fallback
verify_ca_bundle_with_fallback()
except Exception as e:
logger.warning(f"SSL guard failed: {e}")
import asyncio
import base64
import copy