NetWorker: SQL-säkerhetskopiering misslyckas – nsrsqlsv: SSL-leverantör: Certifikatkedjan har utfärdats av en myndighet som inte är betrodd

Summary: NetWorker Module för Microsoft (NMM) SQL Server-databassäkerhetskopiering misslyckas. Felet som rapporteras är "nsrsqlsv: SSL-leverantör: Certifikatkedjan har utfärdats av en myndighet som inte är betrodd." ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Symptomen på det här problemet är: 

  • NetWorker Module för Microsoft (NMM) SQL Server-databassäkerhetskopiering misslyckas.   
  • Det rapporterade felet är "nsrsqlsv: SSL provider: The certificate chain was issued by an authority that is not trusted."    
  • Systemhändelseloggen på SQL-servern innehåller ett eller flera av följande fel:
Log Name:      System
Source:        Schannel
Date:          <DATE>
Event ID:      36882
Task Category: None
Level:         Error
Keywords:      
User:          SYSTEM
Computer:      <SQL Server Name>
Description:
The certificate received from the remote server was issued by an untrusted certificate authority. 
Because of this, none of the data contained in the certificate can be validated. 
The SSL connection request has failed. The attached data contains the server certificate.


Log Name:      System
Source:        Schannel
Date:          <DATE>
Event ID:      36884
Task Category: None
Level:         Error
Keywords:      
User:          SYSTEM
Computer:      <SQL Server Name>
Description:
The certificate received from the remote server does not contain the expected name. 
It is therefore not possible to determine whether we are connecting to the correct server. 
The server name we were expecting is <servername>. 
The TLS connection request has failed. The attached data contains the server certificate.


Log Name:      System
Source:        Schannel
Date:          <DATE>
Event ID:      36888
Task Category: None
Level:         Error
Keywords:      
User:          SYSTEM
Computer:      <SQL Server Name>
Description:
A fatal alert was generated and sent to the remote endpoint. 
This may result in termination of the connection. 
The TLS protocol defined fatal error code is 48. The Windows SChannel error state is 552.


Loggfel 

Skärmen SQL Server Configuration Manager 


Cause

Rotorsaken till det här problemet beror på funktionen "Tvinga protokollkryptering" som är aktiverad i SQL Native Client-konfigurationen under SQL Server Configuration Manager.


Inställningen "Force Protocol Encryption" på SQL Server tvingar fram användning av SSL-kryptering.
SSL-kryptering kräver att ett utbytescertifikat utfärdat av en betrodd certifikatutfärdare (CA) finns tillgängligt på den här datorn. 
Utan det här certifikatet misslyckas anslutningen.

Resolution

Följ anvisningarna nedan för att lösa problemet:

  1. Öppna SQL Server Configuration Manager
  2. Högerklicka på SQL Native Client 11.0 Configuration och välj egenskaper.
  3. Ange värdet Framtvinga protokollkryptering till Nej och välj OK.
  4. Utför samma steg för konfigurationen av SQL Native Client 11.0-konfiguration (32-bitars)
  5. Starta om SQL Server
  6. När SQL-servern är igång kontrollerar du att problemet är löst.
Article Properties
Article Number: 000223807
Article Type: Solution
Last Modified: 11 Feb 2025
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.