title: OLEDB Connection Error To SQL Server 2016 / Windows Server 2012R2
body: <p>We recently installed a SQL Server 2016 Standard instance on a Windows Server 2012R2. When we are trying to create an OLEDB connection we receive the following error</p>
  
  <p>[DBNETLIB][ConnectionOpen (SECDoClientHandshake()).]SSL Security error</p>
  
  <p><a href="https://i.stack.imgur.com/CFMWB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CFMWB.png" alt="enter image description here"></a></p>
  
  <p>I searched the internet and non of the solutions worked for us.
  <a href="https://support.microsoft.com/en-ca/help/3135244/tls-1.2-support-for-microsoft-sql-server" rel="nofollow noreferrer">https://support.microsoft.com/en-ca/help/3135244/tls-1.2-support-for-microsoft-sql-server</a></p>