Appearance
profile save-from —— 从证书反向抽取
从已下载的证书反向抽取参数生成一份新的 profile。用于将手工调整过的证书参数保存为模板,供后续证书复用。
用法
bash
certiman profile save-from <cn> [template-name]参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
<cn> | string | 是 | 源证书的主域名(对应 ~/.certiman/cc/certs/<cn>/) |
[template-name] | string | 否 | 目标 profile 名;缺省时与 <cn> 同名 |
示例
bash
# 从已有证书生成同名 profile
certiman profile save-from example.com
# 指定目标 profile 名
certiman profile save-from example.com dv-reuse输出
相关命令
profile show—— 生成后打印 profile 内容进行核对profile edit—— 抽取后进一步调整字段
