当主机名包含下划线时,OpenManage Server Administrator Web UI 无法在服务器上加载

Summary: 有关在主机名中带有下划线的服务器上恢复对 OpenManage Server Administrator (OMSA) Web 界面的访问的说明

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

在主机名包含下划线的服务器上,无法访问 OpenManage Server Administrator (OMSA) Web 界面。例如,服务器的主机名为“FS_1.domain.local”。收到的消息通常是”This site can't be reached" or "ERR_CONNECTION_CLOSED”的输出。DSM SA 连接服务正在运行,并按预期侦听端口 1311 上的连接。

Cause

下划线不是域名系统 (DNS) 主机名的有效字符,如 RFC 1912 中所述。

此超链接会将您带往 Dell Technologies 之外的网站。

https://datatracker.ietf.org/doc/html/rfc1912#section-2.1因此,OMSA 无法在安装过程中生成自签名证书,并在没有有效 TLS 配置的情况下启动其服务。连接服务在启动期间仍会运行并绑定到端口 1311,但不接受连接。

Resolution

选项 A
将服务器的名称更改为仅包含字母、数字或连字符的新名称,然后卸载并重新安装 OMSA。

选项 B
安装有效的证书并通过 IP 地址而不是主机名访问 OMSA。在受影响的服务器上运行以下 OMConfig 命令将创建新的自签名证书:
omconfig preferences webserver attribute=gennewcert cn=<servername> org=Dell ou=ESG location=RoundRock state=TX country=US validity=3650 keysize=2048 algorithm=SHA512 webserverrestart=true
 
将“<servername>”替换为任何受支持的值。最简单的选项是使用服务器的当前名称,并删除任何下划线。

Affected Products

OpenManage Server Administrator
Article Properties
Article Number: 000221443
Article Type: Solution
Last Modified: 10 Apr 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.