### How to solve `pyodbc.OperationalError: ('08001', '[08001] [Microsoft][ODBC Driver 17 for SQL Server]SSL Provider: [error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol] (-1) (SQLDriverConnect)')` error? This error due to openssl. #### Steps ##### Open `/etc/ssl/openssl.cnf` and update these lines ```code bash [system_default_sect] MinProtocol = TLSv1 CipherString = DEFAULT@SECLEVEL=1 ``` ##### Reference [https://github.com/microsoft/msphpsql/issues/1112#issuecomment-643522139](https://github.com/microsoft/msphpsql/issues/1112#issuecomment-643522139)