https://bugzilla.wikimedia.org/show_bug.cgi?id=68581

--- Comment #1 from Seb35 <seb35wikipe...@gmail.com> ---
This is the same error I have in bug 73199. Differences are:
* it is not the same code (SpamBlacklist vs MediaWiki core),
* it is not the same PHP function (file_get_contents vs fopen),
* in bug 73199, there is a context specified (not here).

I guess file_get_contents has a default context where the option CN_match is
fixed to the requested host (I tried to dive into source code of PHP to track
the default argument, but I abandonned), and new x509 certificates (like the
one of the Wikimedia projects) don’t really use the CN attribute but the
subjectAltName attribute.

If this diagnosis is correct, a fix would be to add a context parameter with
CA_match "unset" (setting it to null?).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to