title: [ODBC SQL Server Driver][DBNETLIB]SSL Security error (18)
body: <p>I'm trying to connect to a SQL Server using pyodbc 4.0.30 with Python 3.7. Everything was going great the past couple of days until today when I get this error:</p>
  <blockquote>
  <p>OperationalError: ('08001', '[08001] [Microsoft][ODBC SQL Server Driver][DBNETLIB]SSL Security error (18) (SQLDriverConnect); [08001] [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (SECCreateCredentials()). (1)')`</p>
  </blockquote>
  <p>My connection:</p>
  <pre><code>conn = pyodbc.connect('driver={SQL Server};server=redacted;database=uipcc_awdb;uid=redacted;pwd=redacted;trusted_connection=no;')
  </code></pre>
  <p><strong>Please note</strong> I can connect normally to the database via SQL Server Management Studio, and no changes were made on my machine, the SQL Server, or the network.</p>
  <p>I need to emphasize, I have tried to following which were mentioned in similar questions (but none worked):</p>
  <ul>
  <li>adding <code>sslverify=0</code> in the connection parameters</li>
  <li>adding <code>encrypt=0</code> in the connection parameters</li>
  <li>Changing the OBDC drivers from my machine, didn't work and ruined the connection from SQL Server Management Studio</li>
  </ul>