1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 17:28:08 +00:00

Add truststore inject_into_ssl

This commit is contained in:
grossmj 2023-08-10 15:01:49 +10:00
parent fe90d2b146
commit 17f71f970e

View File

@ -284,6 +284,13 @@ class Server:
log.critical("The current working directory doesn't exist") log.critical("The current working directory doesn't exist")
return return
try:
import truststore
truststore.inject_into_ssl()
log.info("Using system certificate store for SSL connections")
except ImportError:
pass
CrashReport.instance() CrashReport.instance()
host = config.Server.host host = config.Server.host
port = config.Server.port port = config.Server.port