PowerVault ME5:在阵列上使用主题和扩展之间的空格创建 CSR

Summary: 本文介绍如何在 ME50xx 存储上创建包含空格和特殊字符的证书签名请求 (CSR)。

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

尝试在包含空格和特殊字符的阵列上生成证书签名请求 (CSR) 时遇到问题。
示例如下:
# create certificate-signing-request subject /O=A. ROYHR North. Game & Co. BG/OU=IT/L=Texas/C=DE/CN=me5012-fzlb-a extension /basicConstraints=CA:TRUE/subjectAltName=DNS:me5012-xxxx-x.xxxxx.xx,IP:192.xxx.xxx.xx
Error: The command had an invalid parameter or unrecognized parameter. - Invalid parameter found [royhr] (2024-09-11 11:33:29)

# create certificate-signing-request subject "/A. ROYHR North. Game & Co. BG/OU=IT/L=Texas /C=DE/CN=me5012-fzlb-a" extension /basicConstraints=CA:TRUE/subjectAltName=DNS:me5012-xxxx-x.xxxxx.xx,IP:192.xxx.xxx.xx
Error: Command failed. - Security certificate signing request not created for controller A. Verify that the subject value has valid format. (2024-09-11 11:33:53)

Cause

这是由于SSL规范;阵列的设计符合 SSL 规范。

Resolution

下面是使用空格和特殊字符(在本例中为“&”)创建 CSR 的语法和步骤。对于特殊字符,请使用双引号 (“”) 包括空格和反斜杠 (\)。

# create certificate-signing-request subject "/C=DE/L=Texas/O=A. ROYHR North. Game \& Co. BG/OU=IT/CN=me5012-fzlb-a" extensions "/basicConstraints=CA:TRUE/subjectAltName=DNS:me5012-xxxx-x.xxxxx.xx,IP:192.xxx.xxx.xx"


上述命令仅在 ME5.1.2.1.1 固件升级后可用。旧版本不支持空格和所有特殊字符。 

CLI 指南摘录:

contents <content-string>

Optional. A security certificate is generated based on the supplied content. The content becomes the subject of the certificate creation request and must be formatted as /type0=value0/ type1=value1/type2=..., where types include C for country, ST for state or province, L for location, CN for common name, and O for organization. Invalid types will be omitted from the content string. The content string cannot exceed 1024 characters and can include printable UTF-8 characters except space or semicolon. An example is /C=US/ST=CO/O=MyOrganization/ CN=www.mysite.com. You must specify either this parameter or the restore parameter or the unique parameter. 

在收到更新时,本文将更新。
 

Affected Products

ME Series, PowerVault ME5012, PowerVault ME5024, PowerVault ME5084
Article Properties
Article Number: 000230486
Article Type: Solution
Last Modified: 06 Mar 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.