mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-16 16:54:51 +02:00
Add truststore inject_into_ssl
This commit is contained in:
parent
fe90d2b146
commit
17f71f970e
@ -284,6 +284,13 @@ class Server:
|
||||
log.critical("The current working directory doesn't exist")
|
||||
return
|
||||
|
||||
try:
|
||||
import truststore
|
||||
truststore.inject_into_ssl()
|
||||
log.info("Using system certificate store for SSL connections")
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
CrashReport.instance()
|
||||
host = config.Server.host
|
||||
port = config.Server.port
|
||||
|
Loading…
Reference in New Issue
Block a user