Describe the bug
The certificate chain buffer is null and zero length with PORTABLE_CERTIFICATES when the server should have sent its certificate chain.
Affected OS
Additional OS information
No response
MsQuic version
main
Steps taken to reproduce bug
- Create server with certificate that has a chain
- Create client with the following flags INDICATE_CERTIFICATE_RECEIVED, NO_CERTIFICATE_VALIDATION, USE_PORTABLE_CERTIFICATES (on Linux), CLIENT
- Do a handshake between client and server.
Expected behavior
the INDICATE_PEER_CERTIFICATE event on the client should have a buffer with a PKCS7 containing the server's certificate chain, minus the leaf cert.
Actual outcome
The INDICATE_PEER_CERTIFICATE event fires with no server certificate chain; the buffer is null and the length is 0.
Additional details
No response