Support certificate validation callback

Open
#15 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
32/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust

Research direction

Start at the implementation of SSL_CTX_set_verify and trace the current error path for a non-NULL callback. Read the surrounding certificate-validation code and determine what information must populate an X509_STORE_CTX. Done means the callback is supported and nginx client authentication is unlocked; no test or file path is named in the issue.

Written by the indexing model from the issue text.

Description

enhancement

At the moment if SSL_CTX_set_verify is called with a non-NULL callback, we return an error. Instead, we should implement this. That will mean filling in an X509_STORE_CTX.

This should unlock nginx support for client authentication.

Dominant language
Rust
Stars
87
Forks
13
Avg merge
47m
Merged PRs (30d)
3

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rustls/rustls-openssl-compat

All issues in rustls/rustls-openssl-compat

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.