Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Title
This change will allow spotDL web server to be run on HTTPS.
Description
Add the ability to run the web server in HTTPS.
Added the following Command Line Parameters
Related Issue
#2085
Motivation and Context
This allow the server to be run in HTTPS mode. This allows the web server to be run in home labs with out the "insecure" marking in the web browser.
How Has This Been Tested?
I have downloaded / built the application and executed it both with the --enable-tls flag added and it left out.
I have verified that It will stand up in HTTP mode when the flag is not added and It will stand up in HTTPS using the passed cert files when the flag is passed.
I have also modified the code so that the initial launch of the web browser will load the proper protocol.
Run on standard Ubuntu Linux environment.
Code changes are limited to adding arguments and modifying how the web server is started. Unintended consequences are also limited because the code changes are inside an if statement that can be disabled via a command line flag.
Types of Changes
Checklist