NetWorker:替换证书后,Windows NMC 服务器无法启动 GSTD 服务

Summary: NetWorker Management Console (NMC) 服务器使用自签名证书进行部署。自签名证书已替换为 CA 签名的服务器证书。替换 Windows NMC 服务器上的证书后,服务器的 GSTD 服务无法启动,并报告“gstd NSR 警告获取 SSL 的证书和私钥时出错”

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

Windows NetWorker Management Console (NMC) 服务器已修改为使用 CA 签名的服务器证书,而不是默认的自签名证书。

NMC GSTD 服务无法启动,并在 C:\Program Files\EMC NetWorker\Management\GST\logs\gstd.rawNetWorker:如何使用nsr_render_log呈现.raw日志文件

31581 8/6/2025 9:47:37 AM  2 0 0 2044 10296 0 win-srvr01.networker.lan gstd NSR warning *** gstd starting at Wed Aug 06 09:47:37 2025
0 8/6/2025 9:47:37 AM  1 5 0 2044 10296 0 win-srvr01.networker.lan gstd NSR notice @(#) Product:      NetWorker
0 8/6/2025 9:47:37 AM  1 5 0 2044 10296 0 win-srvr01.networker.lan gstd NSR notice @(#) Release:      19.9.0.1.Build.29
0 8/6/2025 9:47:37 AM  1 5 0 2044 10296 0 win-srvr01.networker.lan gstd NSR notice @(#) Build number: 29
0 8/6/2025 9:47:37 AM  1 5 0 2044 10296 0 win-srvr01.networker.lan gstd NSR notice @(#) Build date:   Sun May 28 23:51:46 PDT 2023
0 8/6/2025 9:47:37 AM  1 5 0 2044 10296 0 win-srvr01.networker.lan gstd NSR notice Build arch.:  ntx64
0 8/6/2025 9:47:37 AM  1 5 0 2044 10296 0 win-srvr01.networker.lan gstd NSR notice @(#) Build info:   DBG=0,OPT=
57789 8/6/2025 9:47:37 AM  2 0 0 2044 10296 0 win-srvr01.networker.lan gstd NSR warning Error getting certificate and private key for SSL
19154 8/6/2025 9:47:37 AM  2 0 0 2044 10296 0 win-srvr01.networker.lan gstd NSR warning gstd: gt_server: library error 0 os error 

使用了适用于 NMC 版本的正确 OpenSSL 版本:NetWorker:NMC GST 服务启动,然后在替换 cakey.pem 后立即关闭

Cause

的编码问题 cakey.pem 文件。

cakey.pem 文件是使用 PowerShell 创建的。默认输出文件格式为 UTF-16 LE。在 GSTD 服务启动期间未正确读取文件,从而导致失败。

Resolution

在创建 cakey.pem 文件,强制执行 ASCII 编码。示例:

Get-Content C:\tmp\server.key.pem, C:\tmp\server.crt.pem | Out-File C:\tmp\cakey.pem -Encoding ascii

有关详细信息,请参阅:NetWorker:如何导入或更换 NMC 的证书颁发机构签名证书

Affected Products

NetWorker

Products

NetWorker Family
Article Properties
Article Number: 000355910
Article Type: Solution
Last Modified: 18 Sept 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.