ipmcset -t certificate -d import
更新时间: 2026/07/28
在Gitcode上查看源码

Back to Overview

Command Function

import certificate

Command Format

ipmcset -t certificate -d import -v <localpath/URL> <type> [passphrase]

Command type

ipmcset

Parameters

NameTypeRequiredDefaultConstraintDescription
pathstringYes-RegexLocalpath e.g.: /tmp/customer.pfx URL : protocol://[username:password@]IP[:port]/directory/filename The parameters in the URL are described as follows: The protocol must be https,sftp,cifs,scp or nfs. The URL can contain only letters, digits, and special characters. The directory or file name cannot contain @. Use double quotation marks (") to enclose the URL that contains a space or double quotation marks ("). Escape the double quotation marks (") and back slash () contained in the URL. For example, if you want to enter: a b\cd" Enter: "a b\cd""
typeintegerYes-Type: Enum; Enum: 1Types are: 1 custom certificate, customized p12 or pfx certificate that contains private keys.
passphrasestringNo-Type: Length; Min: 0; Max: 32-

Regex正则表达式

  • path
^((https|sftp|nfs|cifs|scp)://.{1,1000}|/tmp/.{1,246})$

Output Examples

Downloading...
Warning: The certificate fails to meet certain security standards, such as the signature algorithm, key length, basic constraints, or key usage. Exercise caution when using it.
Import certificate successfully

Config source

interface_config/cli/ipmcset/certificate.json