-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Verify the incomplete chain from the first cert (#9)
* Verify the incomplete chain from the first cert When using the last cert, the following error is encountered from www.musl-libc.org, currently using a certificate generated by Let's Encrypt: ```shell transport_test.go:106: https://www.musl-libc.org/: err not expected but got: Get "https://www.musl-libc.org/": asn1: structure error: tags don't match (16 vs {class:0 tag:6 length:9 isCompound:false}) {optional:false explicit:false application:false private:false defaultValue:<nil> tag:<nil> stringType:0 timeType:0 set:false omitEmpty:false} tbsCertificate @2 --- FAIL: TestTransport (2.43s) ``` Using the first cert to verify the incomplete chain works correctly for this case, and appears to do so for others as well. * remove musl-libc.org test * add semicomplete chain tests Co-authored-by: Frank Chiarulli Jr <[email protected]>
- Loading branch information
Showing
2 changed files
with
188 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters