php / php/php-src

Add more INI options to control OpenSSL verification

Open
#19,134 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Extension: openssl Feature
Dominant language
C
Stars
40.4k
Forks
8.1k
Avg merge
2d 13h
Merged PRs (30d)
96

Description

Description

Currently OpenSSL offers openssl.cafile and openssl.capath. In some cases it seems useful to control other verification like allow_self_signed.

This is related to the bug report https://bugs.php.net/bug.php?id=69319 which proposed stream_context_set_default but that's not possible due to BC impact and also does not make always sense from the logic point of view.

Contributor guide

Open the contributing guide

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.

Research direction

Start by tracing the existing openssl.cafile and openssl.capath INI options, then read the linked bug report about stream_context_set_default and its backward-compatibility concern. Define the additional verification controls and confirm that their behavior and compatibility implications are documented and testable.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, php
Domain
security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.