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

Access the example server's HTML page through Chrome #127

Closed
Geshode opened this issue Jul 24, 2020 · 3 comments
Closed

Access the example server's HTML page through Chrome #127

Geshode opened this issue Jul 24, 2020 · 3 comments
Labels
question Further information is requested

Comments

@Geshode
Copy link

Geshode commented Jul 24, 2020

I found, that there is a sample html page (index.html) inside the templates folder inside the examples.

Is it supposed to be possible to access it with Chrome through https://localhost:4433/ ?
Because I tried that, while having the Experimental QUIC protocol flag enabled, but I only get the error message, that the site could not be reached.

@Geshode Geshode changed the title Access th example server's HTML page through Chrome Access the example server's HTML page through Chrome Jul 24, 2020
@jlaine
Copy link
Contributor

jlaine commented Oct 14, 2020

I cannot remember how to invoke Chrome with the right flags, as it will almost certainly refuse the certificate. Could you try against https://quic.aiortc.org/ ?

@jlaine jlaine added the question Further information is requested label Oct 14, 2020
@jlaine
Copy link
Contributor

jlaine commented Oct 15, 2020

With the latest stable Chrome I can trigger a QUIC/HTTP3 connection using:

google-chrome --origin-to-force-quic-on=localhost:4433 https://localhost:4433/

.. however Chrome will fail to load the page, as the certificate is (rightly) not recognised as valid.

@jlaine
Copy link
Contributor

jlaine commented Oct 15, 2020

Update: I can get the page to load using:

google-chrome --ignore-certificate-errors-spki-list=BSQJ0jkQ7wwhR7KvPZ+DSNk2XTZ/MS6xCbo9qu++VdQ= --origin-to-force-quic-on=localhost:4433 https://localhost:4433/

Where the fingerprint of the certificate was obtained using:

openssl x509 -in tests/ssl_cert.pem -pubkey -noout | openssl pkey -pubin -outform der | openssl dgst -sha256 -binary | openssl enc -base64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants