|
Jeff,
Look in s3_srvr.c -
ssl3_send_certificate_request calls SSL_get_client_CA_list to get the stack
of CA names (assumedly set by other code having called
SSL_set_client_CA_list). However, if the server side code has not set this then
the stack is empty, so the code ends up setting the 2-byte length field to
0x0000 and appending no further data to the message.
So the questions that remain are:
1) Is this ok and should clients be required to handle
this, and if so where is this documented?
2) If it is required for the server implementation to
call SSL_set_client_CA_list, should an error be surfaced at some point when
this is detected?
3) If a server implementation is to call
SSL_set_client_CA_list how should it specify that it does not care what the
client sends (assuming it will check against trusted roots later)? I could
contend that a server implementation may not want to give such hints to a client
and assume that clients it trusts will present proper credentials based on
proper configuration.
Erik Tkal
|
- RE: No CAs in CertificateRequest message Erik Tkal
- Re: No CAs in CertificateRequest message Jeffrey Altman
- RE: No CAs in CertificateRequest message Erik Tkal
