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")
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