You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
HTTPS tests break in WPT with certification validation error #6919
./mach test-wpt output shows that a certificate is created. I suppose it should be added to the set of trusted roots. (Only for the purpose of running tests of course.)
net::http_loader::load calls openssl::ssl::SslContext::set_CA_file. Maybe have a command-line option to use an alternative CA file? Or should this be more obscure, to avoid tempting users?
By the way, @Manishearth, where does resources/certs come from? It’s rather opaque.
Activity
SimonSapin commentedon Aug 3, 2015
./mach test-wptoutput shows that a certificate is created. I suppose it should be added to the set of trusted roots. (Only for the purpose of running tests of course.)jgraham commentedon Aug 3, 2015
Yes, that's what Firefox does (using certutil; see https://dxr.mozilla.org/mozilla-central/source/testing/web-platform/harness/wptrunner/browsers/firefox.py#177 ). I don't know how to do the same for Servo however.
SimonSapin commentedon Aug 3, 2015
net::http_loader::loadcallsopenssl::ssl::SslContext::set_CA_file. Maybe have a command-line option to use an alternative CA file? Or should this be more obscure, to avoid tempting users?By the way, @Manishearth, where does
resources/certscome from? It’s rather opaque.Manishearth commentedon Aug 4, 2015
https://github.com/servo/servo/blob/master/etc/cert_generator.js run in Firefox's browser debugger shell (Ctrl-Shift-J if enabled)
Manishearth commentedon Aug 4, 2015
We can create a new resources dir for testing and pass it via
--resources-pathjdm commentedon Aug 4, 2015
That would also allow us to get rid of a bunch of the guessing at http://mxr.mozilla.org/servo/source/components/util/resource_files.rs#20...
SimonSapin commentedon Aug 4, 2015
@jdm do you mean making
--resources-pathmandatory?jdm commentedon Aug 4, 2015
Well, we could default to assuming a path like target/mode/servo I suppose?
Auto merge of #6935 - jdm:sslverify, r=Manishearth
jdm commentedon Jan 11, 2016
https://bugzilla.mozilla.org/show_bug.cgi?id=1025066 was the similar implementation for Gecko.
Auto merge of #15784 - jdm:ssltests, r=nox,jgraham
Auto merge of #15784 - jdm:ssltests, r=nox,jgraham