cta-wave / dpctf-test-runner

Repo for the DPCTF Test Runner
Other
0 stars 3 forks source link

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

Open jpiesing opened 2 years ago

jpiesing commented 2 years ago

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 commented 2 years ago

@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:

@jpiesing wdyt?

jpiesing commented 2 years ago

@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 commented 1 year ago

Add to known bug list in Readme.

FritzHeiden commented 1 year ago

Added list of known bugs including this one here