Hm. Ich hoffe mal, Du hast lediglich 'www.shantychor-hallerschipper.de' durch 'localhost' oder '127.0.0.1' ausgetauscht: Dann stimmen nur die Schlüssel nicht.
Sonst liegt es an der PHP-Installation. Bei mir geht das hier nämlich.
<?php
$url = 'https://www.shantychor-hallerschipper.de/.cm4all/mediadb/Das%20gro%C3%9Fe%20Spiel.mp3';
print_r( get_headers( $url, 1 ) );
Ergebnis:
Array
(
[0] => HTTP/1.1 200 OK
[Date] => Fri, 08 Feb 2019 16:28:20 GMT
[Server] => Apache/2.4.37 (Unix)
[Upgrade] => h2,h2c
[Connection] => Upgrade, close
[Last-Modified] => Wed, 28 Feb 2018 13:41:24 GMT
[ETag] => "32b2b5-56645e639221d"
[Accept-Ranges] => bytes
[Content-Length] => 3322549
[Content-Type] => audio/mpeg
)
Was sagt phpinfo?
php -i | grep ssl
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2
openssl
Openssl default config => /usr/lib/ssl/openssl.cnf
openssl.cafile => no value => no value
openssl.capath => no value => no value
und:
php -i | grep https
Registered PHP Streams => https, ftps, compress.zlib, php, file, glob, data, http, ftp, phar, zip
Protocols => dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtmp, rtsp, smb, smbs, smtp, smtps, telnet, tftp