NetWorker:使用 SSL 提供程序时 NMM SQL Server 备份失败:目标主体名称不正确
Summary: NetWorker Module for Microsoft (NMM) 执行 SQL Server 备份,备份失败并显示错误: “SSL Provider:目标主体名称不正确。无法登录到 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
NetWorker Module for Microsoft (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 中跟踪。使用 SSL 提供程序时 SQL Server 计划备份失败:目标主体名称不正确。
此缺陷将在缺陷 ID:
[NETWORKER-104211] NMM 19.9 中跟踪。使用 SSL 提供程序时 SQL Server 计划备份失败:目标主体名称不正确。
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.