Adding some more debug output.

This commit is contained in:
Marat Fayzullin 2023-01-26 14:35:08 -05:00
parent eab6c03911
commit c5fc6db19e
1 changed files with 5 additions and 2 deletions

View File

@ -122,9 +122,12 @@ Support and info: https://groups.io/g/openwebrx
if os.path.isfile(keyFile) and os.path.isfile(certFile):
server.socket = ssl.wrap_socket(
server.socket, keyFile, certFile, server_side=True)
logger.info("Found SSL certificate, using https:// protocol...")
logger.info("Found SSL certificate, using https:// protocol.")
else:
logger.info("No SSL certificate, using http:// protocol...")
logger.info("No SSL certificate, using http:// protocol.")
logger.info("To enable https://, supply SSL certificate:")
logger.info(" " + certFile)
logger.info(" " + keyFile)
# Run the server
server.serve_forever()
except SignalException: