title: Import SQL Server data in excel - SSL error
body: <p>I need to display data in Excel, from a SQL Server. I am using SQL Server 2017 and Microsoft SQL Server Management Studio.</p>
  
  <p>When I try to connect to the database with Excel, however, through the Data tab -> Get data -> From Database -> From SQL Server database.</p>
  
  <p>I think the error is not in Excel, however, since the error itself is in Dutch. It reads 'The certificate chain has been granted by a non-trusted authority'. I have absolutely no idea why this is the case with my computer. I was thinking that this may be because of my antivirus (BitDefender):</p>
  
  <p><a href="https://i.stack.imgur.com/tijJr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tijJr.png" alt="SSL error"></a></p>
  
  <p>The error reads </p>
  
  <blockquote>
    <p>The certificate chain has been granted by a non-trusted authority</p>
  </blockquote>
  
  <p>Does anyone know how I can fix this? Since this is quite essential.</p>
  
  <p><strong>Edit/note:</strong> This is different than when logging in with Microsoft Server Studio since I can log in to the server with this. When using excel, however, I can't log in successfully.</p>