[Bug 257995] security/gnutls: Cannot connect to some websites

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 22 Aug 2021 15:43:20 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257995

            Bug ID: 257995
           Summary: security/gnutls: Cannot connect to some websites
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tijl_at_FreeBSD.org
          Reporter: lantw44_at_gmail.com
          Assignee: tijl_at_FreeBSD.org
             Flags: maintainer-feedback?(tijl_at_FreeBSD.org)

Created attachment 227368
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227368&action=edit
Patch

For example, Epiphany cannot connect to https://join.gov.tw/. It shows the
certificate error page. gnutls-cli also fails and shows these error messages:

|<1>| Got OCSP response with an unrelated certificate.
- Status: The certificate is NOT trusted. The received OCSP status response is
invalid. 
*** PKI verification of server certificate failed...
*** Fatal error: Error in the certificate.

It turns out it is a GnuTLS bug which has been fixed in the upstream. If I
apply the upstream patch, both Epiphany and gnutls-cli can connect to the site.

https://gitlab.com/gnutls/gnutls/-/issues/1062
https://gitlab.com/gnutls/gnutls/-/merge_requests/1308

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Sun Aug 22 2021 - 15:43:20 UTC

Original text of this message