NetWorker:NMM SQL Server 備份無法使用 SSL 提供者:目標主體名稱不正確
Summary: 適用於 Microsoft 的 NetWorker 模組 (NMM) 會進行 SQL Server 備份,且備份失敗並顯示錯誤: 「SSL 提供者:目標主體名稱不正確。無法登入 SQL Server 預設例項。」
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
適用於 Microsoft 的 NetWorker 模組 (NMM) 會進行 SQL Server 備份,且備份失敗並顯示錯誤:
"SSL Provider: The target principal name is incorrect. Cannot login to SQL Server Default Instance."
範例記錄
----------------- nsrsqlsv.log -------------- 5/26/2024 9:01:41 PM nsrsqlsv NSR info Legato Networker Server Version: NetWorker 19.9.0.2.Build.90 CLP Capacity License 5/26/2024 9:01:41 PM nsrsqlsv NSR notice Version information for C:\Program Files\EMC NetWorker\nsr\bin\nsrexecd.exe: Original file name: nsrexecd.exe Version: 19.9.0.6.Build.267 Comments: Version information for C:\Program Files\EMC NetWorker\nsr\bin\nsrsqlsv.exe: Original file name: nsrsqlsv.exe Version: 19.9.0.Build.267 (ntx64) Comments: Supporting Microsoft Volume Shadow Copy Service 153887:nsrsqlsv: Microsoft SQL server documentation provides details about the following SQL Server Provider error: 38008:nsrsqlsv: SSL Provider: The target principal name is incorrect. 153416:nsrsqlsv: (Error: -2146893022) 5/26/2024 9:01:41 PM nsrsqlsv NSR critical Cannot login to SQL Server Default Instance. Stop time: Sun May 26 21:01:41 2024 ------------- SYSTEM EVENTLOG ---------------- 05/26/2024 09:01:41 PM Error Schannel 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 “shortnameoftheserver”. The TLS connection request has failed. The attached data contains the server certificate.
Cause
此問題的根本原因是名為「強制嚴格加密」的 SQL Server 功能。
默認連接字串包含 -“Server=(local)”,這在問題主機上失敗。
- 此功能已在此環境中啟用,並使用第三方憑證進行加密。
- SQL Server 的服務 主體名稱 清單包括 SQL Server 的完整限定功能變數名稱 (FQDN)。
- 問題是 SQL Server 的服務主體名稱清單缺少 SQL Server 的短名稱
默認連接字串包含 -“Server=(local)”,這在問題主機上失敗。
Resolution
NetWorker 的下列版本將提供此問題的永久解決方案: 19.10.0.6、19.11.0.3 和 19.12 的主要版本。
缺陷 ID:
[NETWORKER-104211] NMM 19.9 中會追蹤此缺陷。SQL Server 使用 SSL 提供者排定備份失敗:目標主體名稱不正確。
缺陷 ID:
[NETWORKER-104211] NMM 19.9 中會追蹤此缺陷。SQL Server 使用 SSL 提供者排定備份失敗:目標主體名稱不正確。
Article Properties
Article Number: 000225544
Article Type: Solution
Last Modified: 12 Nov 2024
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.