PowerVault ME5:サブジェクトと拡張子の間にスペースを使用してアレイにCSRを作成する
Summary: この記事では、ME50xxストレージでスペースと特殊文字を含む証明書署名要求(CSR)を作成する方法について説明します。
Symptoms
以下に例を示します。
# 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
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.
この記事は、アップデートが受信されると更新されます。