fix truststore

This commit is contained in:
Kenneth Kehl
2025-07-24 08:03:50 -07:00
parent 99c3f41178
commit 70d142cb90
2 changed files with 8 additions and 7 deletions

View File

@@ -1,7 +1,3 @@
import truststore
truststore.inject_into_ssl() # noqa
import logging as real_logging # noqa import logging as real_logging # noqa
import os # noqa import os # noqa
import secrets # noqa import secrets # noqa

View File

@@ -1,10 +1,15 @@
##!/usr/bin/env python ##!/usr/bin/env python
from __future__ import print_function from __future__ import print_function
from flask import Flask import truststore
from werkzeug.serving import WSGIRequestHandler
from app import create_app, socketio # noqa: F401 truststore.inject_into_ssl() # noqa
from flask import Flask # noqa
from werkzeug.serving import WSGIRequestHandler # noqa
from app import create_app, socketio # noqa
WSGIRequestHandler.version_string = lambda self: "SecureServer" WSGIRequestHandler.version_string = lambda self: "SecureServer"