Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mod_ssl: Don't reject expired client certs with optional_no_ca. #509

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

InterLinked1
Copy link

The SSLVerifyClient optional_no_ca setting has been broken since it was introduced in that expired certificates result in the request being rejected, which is contrary to the documentation and how the setting is supposed to behave. To fix this, add X509_V_ERR_CRL_HAS_EXPIRED to the list of error exceptions that allow ssl_callback_SSLVerify in ssl_engine_kernel.c and ssl_io_filter_handshake in ssl_engine_io.c to accept the client certificate anyways.

PR: 60028
PR: 60186

The SSLVerifyClient optional_no_ca setting has been broken since it was
introduced in that expired certificates result in the request being
rejected, which is contrary to the documentation and how the setting is
supposed to behave. To fix this, add X509_V_ERR_CRL_HAS_EXPIRED
to the list of error exceptions that allow ssl_callback_SSLVerify
in ssl_engine_kernel.c and ssl_io_filter_handshake in ssl_engine_io.c
to accept the client certificate anyways.

Submitted by: Naveen Albert <[email protected]>

PR: 60028
PR: 60186
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant