Skip to content

Commit

Permalink
Add truststore inject_into_ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Aug 10, 2023
1 parent fe90d2b commit 17f71f9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gns3server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,13 @@ def run(self):
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
Expand Down

0 comments on commit 17f71f9

Please sign in to comment.