Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fallimento download allegati in caso di certificato sito scaduto #1

Open
jenkin opened this issue Oct 11, 2018 · 0 comments
Open

Fallimento download allegati in caso di certificato sito scaduto #1

jenkin opened this issue Oct 11, 2018 · 0 comments
Assignees

Comments

@jenkin
Copy link
Contributor

jenkin commented Oct 11, 2018

Il download fallisce quando un link https punta a una risorsa con un certificato non valido (perché scaduto e/o self-signed). Bisognerebbe impostare urllib3 per ignorare la verifica del certificato.

Esempio di errore (il nome del comune è offuscato):

ERROR:urllib3.connection:Certificate did not match expected hostname: online.comuneXXXXXXX.gov.it. Certificate: {'notAfter': 'Sep 27 10:21:49 2019 GMT', 'caIssuers': ('http://certificates.godaddy.com/repository/gdig2.crt',), 'notBefore': 'Sep 27 10:21:49 2018 GMT', 'subject': ((('organizationalUnitName', 'Domain Control Validated'),), (('commonName', '*.comune.XXXXXXX.pg.it'),)), 'OCSP': ('http://ocsp.godaddy.com/',), 'serialNumber': '346752538632F715', 'subjectAltName': (('DNS', '*.comune.XXXXXXX.pg.it'), ('DNS', 'comune.XXXXXXX.pg.it')), 'version': 3, 'issuer': ((('countryName', 'US'),), (('stateOrProvinceName', 'Arizona'),), (('localityName', 'Scottsdale'),), (('organizationName', 'GoDaddy.com, Inc.'),), (('organizationalUnitName', 'http://certs.godaddy.com/repository/'),), (('commonName', 'Go Daddy Secure Certificate Authority - G2'),)), 'crlDistributionPoints': ('http://crl.godaddy.com/gdig2s1-872.crl',)}
@jenkin jenkin self-assigned this Oct 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant