RE: Local web server

On Mar 25, 2016 8:52 PM, "Jim Schaad" <ietf@augustcellars.com> wrote:
>
> The good news is I got the thing up and running.  The bad news is how
many different things that I had go wrong and the various ways that they
went wrong in the process.
>
> 1.  I am a windows people and unix shell scripts don't work on unix so
they generally just get ignored.  The apparent command line that is needed
to get it running is "py serve" which then will link through all of the
different things to get running correctly.
>
> 2.  Need to update the documents to state that git needs to be in the
command path otherwise it silently goes boom when trying to build the
manifest file.
>
> 3.  Found another bug where I had the source pointing to
"../resources/testharness.js" which crashed the manifest builder and this
silently failed when it went boom.
>
> 4. What do I need to put into my html files to make them run using https
rather than http?  There is a requirement that they be run from a secure
origin and http://web-platform.test is not considered to be one by chrome
(quite rightly).

If you are a developing locally, there are flags for browsers to treat
origins as secure.

For example,
https://www.chromium.org/Home/chromium-security/deprecating-powerful-features-on-insecure-origins
see --unsafely-treat-origin-as-secure

>
> 5.  I am not sure that I am happy with the idea of having to put the self
signed certificate into my trust store, but that seems to be necessary.  Is
there any thought to getting a certificate that is trusted by some root
that is already going to be in my root store?

Any trusted CA that issues such a certificate for https://web-platform.test
wouldn't be a CA for very long after that. It is a violation of the
Baseline Requirements to do that.

Is there a better list for assistance on Web Platform Tests? This doesn't
seem to be useful to public-webcrypto@, and documentation issues with WPT
like you're seeing surely have a more applicable W3C list?

Received on Saturday, 26 March 2016 05:01:09 UTC