NetWorker: Tworzenie kopii zapasowej SQL kończy się niepowodzeniem — nsrsqlsv: Dostawca SSL: Łańcuch certyfikatów został wystawiony przez urząd, który nie jest zaufany

Summary: Tworzenie kopii zapasowej bazy danych SQL Server NetWorker Module dla Microsoft (NMM) kończy się niepowodzeniem. Zgłoszony błąd to "nsrsqlsv: Dostawca SSL: Łańcuch certyfikatów został wydany przez organ, który nie jest zaufany". ...

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

Objawy tego problemu to: 

  • Tworzenie kopii zapasowej bazy danych SQL Server NetWorker Module dla Microsoft (NMM) kończy się niepowodzeniem.   
  • Zgłoszony błąd to "nsrsqlsv: SSL provider: The certificate chain was issued by an authority that is not trusted."    
  • Dziennik zdarzeń systemowych serwera SQL zawiera co najmniej jeden z następujących błędów:
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.


Błąd dziennika 

Ekran programu SQL Server Configuration Manager 


Cause

Główną przyczyną tego problemu jest funkcja "Wymuś szyfrowanie protokołu", która jest włączona w konfiguracji klienta natywnego SQL w programie SQL Server Configuration Manager.


Ustawienie "Force Protocol Encryption" na serwerze SQL Server wymusza użycie szyfrowania SSL.
Szyfrowanie SSL wymaga udostępnienia na tym komputerze certyfikatu wymiany wystawionego przez zaufany urząd certyfikacji (CA). 
Bez tego certyfikatu połączenie kończy się niepowodzeniem.

Resolution

Aby rozwiązać ten problem, wykonaj następujące czynności:

  1. Otwieranie SQL Server Configuration Manager
  2. Kliknij prawym przyciskiem myszy pozycjęS QL Native Client 11.0 Configuration i wybierz opcję Properties.
  3. Ustaw wartość Force Protocol Encryption na No i wybierz przycisk OK.
  4. Wykonaj te same czynności dla konfiguracji klienta SQL Native Client 11.0 (32-bitowego)
  5. Ponowne uruchamianie serwera SQL
  6. Po uruchomieniu serwera SQL sprawdź, czy problem został rozwiązany.
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.