Skip to content

net::ERR_INSECURE_RESPONSE error 1.4.13 mac-only #8366

Closed

Description

@lukeapage
  • Electron version: 1.4.13
  • Operating system: MACOS

Expected behavior

No network error

Actual behavior

We are getting net::ERR_INSECURE_RESPONSE errors on a https css file used within a local html file. The error does not happen on windows, but does happen on multiple different mac machines. This is a recent thing and rolling back electron versions does not help. I suspect that means it is related to the 10 week certificate issue I found noted in other issues.

The bug does not happen in safari or chrome on mac or chrome or electron on windows

Activity

  1. lukeapage commented on Jan 9, 2017

    @lukeapage
    ContributorAuthor

    Related: #7221
    Please let me know if i can add any loggimg. Also happy to dm a public url.

  2. kevinsawicki commented on Jan 9, 2017

    @kevinsawicki
    Contributor

    @lukeapage are you able to capture the net log using the --log-net-log=FILENAME command line flag and then import it into the chrome://net-internals/#import and see if there are more specific errors there?

  3. added
    blocked/need-info ❌
    on Jan 9, 2017
  4. lukeapage commented on Jan 9, 2017

    @lukeapage
    ContributorAuthor
  5. lukeapage commented on Jan 10, 2017

    @lukeapage
    ContributorAuthor

    @kevinsawicki this is what I get back from the certificate job in that log

    17: CERT_VERIFIER_JOB
    Start Time: 2017-01-10 07:45:29.731
    
    t=297 [st= 0] +CERT_VERIFIER_JOB  [dt=40]
                   --> certificates =
                          -----BEGIN CERTIFICATE-----
                          MII...
                          -----END CERTIFICATE-----
                          
                          -----BEGIN CERTIFICATE-----
                          MII...
                          -----END CERTIFICATE-----
                          
    t=337 [st=40] -CERT_VERIFIER_JOB
                   --> verified_cert =
                          -----BEGIN CERTIFICATE-----
                          M...
                          -----END CERTIFICATE-----
                          
                   --> cert_status = 4 (AUTHORITY_INVALID)
                   --> common_name_fallback_used = false
                   --> has_md2 = false
                   --> has_md4 = false
                   --> has_md5 = false
                   --> is_issued_by_additional_trust_anchor = false
                   --> is_issued_by_known_root = false
                   --> public_key_hashes = ["sha1/XYjOYnGk+T/Obk4WIxCCKSsfmTo=","sha256/cRzKlKepyeonS3eGmJhLgq+aY3Kafhm57rxchART2f4="]
    
  6. lukeapage commented on Jan 10, 2017

    @lukeapage
    ContributorAuthor

    Ok, looked into it and it appears that it is a problem our side - openssl returns
    "Verify return code: 21 (unable to verify the first certificate)"

    and people around seem to commonly describe the symptoms as "works in the browser but not in the system". I think the problem may be that the site does not sent the intermediatory certificate.

    It i strange though that electron does not fetch the intermediatory certificate when chrome does, safari does and electron windows does. Electron on windows includes an additional certificate when the certificate verifier job starts and ends with

                   --> cert_status = 0 ()
                   --> common_name_fallback_used = false
                   --> has_md2 = false
                   --> has_md4 = false
                   --> has_md5 = false
                   --> is_issued_by_additional_trust_anchor = false
                   --> is_issued_by_known_root = true
                   --> public_key_hashes = ["sha1/XYjOYnGk+T/Obk4WIxCCKSsfmTo=","sha256/cRzKlKepyeonS3eGmJhLgq+aY3Kafhm57rxchART2f4=","sha1/UCM4nF92oH7yVEZeTyGW+BRFtB4=","sha256/9n0izTnSRF+W4W4JTq51avSXkWhQB8duS2bxVLfzXsY=","sha1/sYEIGhmkwJQf+uiVKMEkyZs0rMc=","sha256/JbQbUG5JMJUoI6brnx0x3vZF6jilxsapbXGVfjhN8Fg="]
    
  7. lukeapage commented on Jan 10, 2017

    @lukeapage
    ContributorAuthor

    Thanks for tracking it down, looks like it

  8. added and removed
    blocked/need-info ❌
    on Jan 10, 2017
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions