Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Upgrade to Python3.7 ? #8

Open
NicolaiSoeborg opened this issue Apr 24, 2019 · 0 comments
Open

Upgrade to Python3.7 ? #8

NicolaiSoeborg opened this issue Apr 24, 2019 · 0 comments

Comments

@NicolaiSoeborg
Copy link

Hey

Can you upgrade python to 3.7 or make it continue checking MTA-STS files if https cert checking fails?

Currently I hit this bug when trying to verify my domain: https://bugs.python.org/issue28414

import http, ssl

host = "xn--sb-lka.org"
context = context = ssl.create_default_context()
conn = http.client.HTTPSConnection(host, timeout=10, context=context)

conn.request('GET', f'https://{host}/')
# CertificateError: hostname 'søb.org' doesn't match 'xn--sb-lka.org'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant