Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding new features to WebService #34

Open
kevin-w-du opened this issue Jul 29, 2021 · 0 comments
Open

Adding new features to WebService #34

kevin-w-du opened this issue Jul 29, 2021 · 0 comments
Labels
enhancement New feature or request service

Comments

@kevin-w-du
Copy link
Member

kevin-w-du commented Jul 29, 2021

Priority: LOW (I am adding it here now, otherwise I would forget about it).

We can add new APIs to WebService to allow users to add websites to the service. Basically the APIs will add a virtual host file to the web server's configuration folder, and run command to enable the website.

We should have one API for HTTP, another one for HTTPS sites. For HTTPS sites, users will need to provide the server's private key and certificate, or let the container generate the certificate automatically (we do need to provide a root CA as the argument, so all the certificates can be generated from this root CA, which is created by ourselves). I have all the script in the PKI and TLS labs. When we implement these APIs, I will provide all the certificate scripts to save time.

With these new APIs, the current PKI and TLS labs can use this emulator as the basis. The activities can become more interesting.

@kevin-w-du kevin-w-du added enhancement New feature or request service labels Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request service
Projects
None yet
Development

No branches or pull requests

1 participant