denisenkom / pytds

Python DBAPI driver for MSSQL using pure Python TDS (Tabular Data Stream) protocol implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Azure SQL fails because of too simple certificate validation

aersam opened this issue · comments

Azure SQL uses a wildcard certificate:

image

However in tls.py, wildcard certificateds or multiple entries separated by , are not supported

There's even a TODO marker for that, so I'll do a PR with a simple implementation that works for me - and I think it's secure