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

user prompt when connecting to docker web server for encrypted content tests #18

Open
jpiesing opened this issue Sep 22, 2021 · 4 comments
Assignees
Labels
Deferred Defer to future work.

Comments

@jpiesing
Copy link

The docker web server needs to use TLS for the encrypted content tests and uses a certificate that is not descended from a normal root certificate supported in web browsers.
image

Depending on the browser, you may get an option to add a temporary exception or a permanent exception or no choice at all.

I don't know if there's a way around this. There may not be.

At least there should be something in the documentation warning people to add an exception if the device they are testing permits this. If the device does not permit this then it may be necessary to side-load the appropriate root certificate - a reference to this should be provided. I guess this is a WMAS issue as well?

@louaybassbouss
Copy link
Collaborator

@jpiesing in WMAS is less an issue since we don't access the tests via IP Address, but it requires to setup all required WPT domain and subdomains properly (these are more than 200 subdomains required for different tests). This is already done for the hosted WMAS instances on AWS. For local deployment, we decided in WMAS2019/WMAS2020 development to provide a local DNS Server (part of docker deployment) that can resolve all required domains/subdomains. This is still WIP.

In DPCTF we don't need this complexity this is why we activated the option to access the Test Runner via IP Address. But this can cause the issue for https tests you mentioned. My proposal:

  • Step1: update the documentation and warn about this if the test runner is accessed via IP Address
  • Step2: Enable the option to use the test runner via local DNS server as in WMAS. For DPCTF we need to resolve only the domain web-platform.test. For this option, the IP of local DNS server needs to be configured on the DUT.

@jpiesing wdyt?

@jpiesing
Copy link
Author

@louaybassbouss OK but ...
Some devices may not be possible to configure to use a static DNS. Is there a root certificate that could be added? If so then a reference to this would be helpful.
If there are devices that 1) cannot be configured to use a static DNS and 2) have a root certificate added then they may have a problem. They may need to setup their own DHCP server pointing at the local DNS server.
It's worth adding some documentation on this.

@gitwjr
Copy link

gitwjr commented Nov 8, 2022

Add to known bug list in Readme.

@FritzHeiden
Copy link
Collaborator

Added list of known bugs including this one here

@gitwjr gitwjr added the Deferred Defer to future work. label Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deferred Defer to future work.
Projects
None yet
Development

No branches or pull requests

4 participants