Add configuration files and a script for generating development certificates
Update app configuration to require certificates
Update server creation code to use only https
Separate express app and https server creation into separate files (so credentials not needed for tests/Travis)
Mount certs into the docker container for development
Setup server to serve web-client assets
Do you have any concerns with this PR?
Need accompanying changes in site docs and web-client.
How can the reviewer verify this PR?
View
Any background context you want to provide
HTTPS required for IP device authentication with x509 certs. The web-client server would also have to be HTTPS, so I thought it simpler to do away with it and setup LPWAN Server to serve the web-client assets.
Screenshots or logs (if appropriate)
Questions:
Have you connected this PR to the issue it resolves? #301
Does the documentation need an update? Yes
Does this add new dependencies? No
Have you added unit or functional tests for this PR? No
What does this PR do?
Do you have any concerns with this PR?
Need accompanying changes in site docs and web-client.
How can the reviewer verify this PR?
View
Any background context you want to provide
HTTPS required for IP device authentication with x509 certs. The web-client server would also have to be HTTPS, so I thought it simpler to do away with it and setup LPWAN Server to serve the web-client assets.
Screenshots or logs (if appropriate)
Questions: