From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [edk2-devel] reg: Host Name Validation with Wild Card Certificate To: Sivaraman Nainar ,devel@edk2.groups.io From: "Sean" X-Originating-Location: Redmond, Washington, US (50.35.74.15) X-Originating-Platform: Windows Chrome 82 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Sat, 07 Mar 2020 14:40:50 -0800 References: In-Reply-To: Message-ID: <10736.1583620850271595025@groups.io> Content-Type: multipart/alternative; boundary="8xW7iIUJvn2TTsIZsQBT" --8xW7iIUJvn2TTsIZsQBT Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The name of this flag is terrible but if you read the 2.8 spec. https://uefi.org/sites/default/files/resources/UEFI_Spec_2_8_A_Feb14.pdf page 1436. Says: EFI_TLS_VERIFY_FLAG_NONE means no additional flags set for hostname valida= tion. Wildcards are supported and they match only in the left-most label. In the HttpDxe driver we made a change to support wildcards as wildcards a= re pretty commonly used in web services. https://github.com/microsoft/mu_basecore/commit/931ff1a45ce13a6a8c3e296f89= c6de21f23a17ed#diff-45ead71899abef9932d2697dbd1d8867 There is a lot of noise on this thread but its the best i can find. https://bugzilla.tianocore.org/show_bug.cgi?id=3D960 We might need to open a new bugzilla as i think 960 is resolved but is too= strict for practical usage. Thanks Sean --8xW7iIUJvn2TTsIZsQBT Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable The name of this flag is terrible but if you read the 2.8 spec.  =
https://uefi.org/sites/default/files/resources/UEFI_Spec_2_= 8_A_Feb14.pdf
page 1436.  
Says: 
EFI_TLS= _VERIFY_FLAG_NONE means no additional flags set for hostname validation. Wi= ldcards are supported and they match only in the left-most label.

In the HttpDxe driver we made a change to support wildcards as wildcards = are pretty commonly used in web services. 
https://github.com/microsoft/mu_b= asecore/commit/931ff1a45ce13a6a8c3e296f89c6de21f23a17ed#diff-45ead71899abef= 9932d2697dbd1d8867

There is a lot of noise on this thread bu= t its the best i can find. 
https://bugzilla.tianocore.org/show_bug.cgi?id= =3D960

We might need to open a new bugzilla as i think 960 = is resolved but is too strict for practical usage. 

Thanks<= br />Sean
--8xW7iIUJvn2TTsIZsQBT--