master OpenSSL 1.1.1 cert verification port (#239)

an attempt to port over verify_chain (build_chain) and related bits from OpenSSL 1.1.1

JOSSL's current certificate verification algorithm is rather straightforward and dates back to OpenSSL 0.9 days.

Several times we tried porting over newer code to enhance verification (e.g. to consider alternate chains) but failed due the magnitude of the task.

The PR is an attempt for a minimal viable product in terms of OpenSSL 1.1.1 compatible chain verification.
No relevant security features should be missing - if so than they are likely not present in the legacy algorithm as well.

Karol Bucek avatar Karol Bucek

Push event #615 errored

  • Ran for
  • Total time