Closed canamcy closed 8 years ago
audioboom.com
should match *.audioboom.com
. Python 3.2 is too old and broken in this case. Please upgrade your Python version.
Sorry, my previous argument is wrong - audioboom.com
should not match *.audioboom.com
. Instead, there are two items in subjectAltName
(subject alternative name) of the server's SSL certificate. The hostname matches the second alternative name Python 3.2 should work for audioboom.com. On my PC Python 3.2.6 works fine. Could you run the following script?
import pprint
import socket
import ssl
host = 'audioboom.com'
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
context.verify_mode = ssl.CERT_REQUIRED
context.set_default_verify_paths()
sock = socket.create_connection((host, 443))
ssl_sock = context.wrap_socket(sock, server_hostname=host)
pprint.pprint(ssl_sock.getpeercert())
It should print:
{'OCSP': ('http://gp.symcd.com',),
'caIssuers': ('http://gp.symcb.com/gp.crt',),
'crlDistributionPoints': ('http://gp.symcb.com/gp.crl',),
'issuer': ((('countryName', 'US'),),
(('organizationName', 'GeoTrust Inc.'),),
(('commonName', 'RapidSSL SHA256 CA'),)),
'notAfter': 'Aug 13 23:59:59 2018 GMT',
'notBefore': 'Jul 18 00:00:00 2016 GMT',
'serialNumber': '723F3BBDCB7EF6347AD559E7C374A917',
'subject': ((('commonName', '*.audioboom.com'),),),
'subjectAltName': (('DNS', '*.audioboom.com'), ('DNS', 'audioboom.com')),
'version': 3}
Note the subjectAltName
line. There are two items. If there's only one, check your OpenSSL settings.
OK I can reproduce this bug on Python 3.2.2. It's Python's bug, which is fixed in 3.2.3 and 2.7.3, please upgrade your Python version.
Reference: http://bugs.python.org/issue13034
Please follow the guide below
x
into all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --version
and ensure your version is 2016.08.17. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add
-v
flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):