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:
parent
fe90d2b146
commit
17f71f970e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user