Skip to content

HTTPS tests break in WPT with certification validation error #6919

Closed

Description

@jdm

I assume we need to set up Servo to load certificates from a different location than usual; @jgraham ?

Activity

  1. SimonSapin commented on Aug 3, 2015

    @SimonSapin
    Member

    ./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.)

  2. jgraham commented on Aug 3, 2015

    @jgraham
    Contributor
  3. SimonSapin commented on Aug 3, 2015

    @SimonSapin
    Member

    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.

  4. Manishearth commented on Aug 4, 2015

    @Manishearth
    Member
  5. Manishearth commented on Aug 4, 2015

    @Manishearth
    Member

    We can create a new resources dir for testing and pass it via --resources-path

  6. SimonSapin commented on Aug 4, 2015

    @SimonSapin
    Member

    @jdm do you mean making --resources-path mandatory?

  7. jdm commented on Aug 4, 2015

    @jdm
    MemberAuthor

    Well, we could default to assuming a path like target/mode/servo I suppose?

  8. added a commit that references this issue on Nov 13, 2015
  9. jdm commented on Jan 11, 2016

    @jdm
    MemberAuthor
  10. added
    B-high-value
    on May 16, 2016
  11. added 2 commits that reference this issue on Apr 6, 2017
    cd1dbf7
    f3fd823
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-networkA-securityA-testingB-high-value

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions