Revert "Use truststore in appliance_manager.py instead"

This reverts commit a2628042e8.
This commit is contained in:
grossmj 2023-08-07 20:44:37 +10:00
parent 945a2c98cd
commit 21d9d968c4
2 changed files with 7 additions and 8 deletions

View File

@ -37,14 +37,6 @@ import logging
log = logging.getLogger(__name__)
try:
import truststore
truststore.inject_into_ssl()
log.info("Using system certificate store for SSL connections")
except ImportError:
pass
class ApplianceManager:
"""
Manages appliances

View File

@ -32,6 +32,13 @@ import logging
log = logging.getLogger(__name__)
try:
import truststore
truststore.inject_into_ssl()
log.info("Using system certificate store for SSL connections")
except ImportError:
pass
from gns3server.web.web_server import WebServer
from gns3server.web.logger import init_logger
from gns3server.version import __version__