My wiki is private and runs on TLS only. Since 1.23 the jobs queue won't run because it makes an HTTP request against the HTTP port, which generates a 301 redirect, that mediawiki ignores. fsockopen can handle SSL/TLS negotiations but there is no code apparently detecting the $wgServer containing https:// and adjusting accordingly. I was able to modify the fsockopen like this to make it work (near line 666 in MediaWiki.php 1.24.0):
$sock = fsockopen( "tls://" . $info['host'], isset( $info['port'] ) ? $info['port'] : 443, $errno, $errstr, // If it takes more than 100ms to connect to ourselves there // is a problem elsewhere. 0.1 );
Obviously in a proper design, you would assume port 443 (unless overridden) and TLS from "https://" in the $wgServer and prepend tls:// or ssl:// to the hostname for fsockopen.