}
+ >
+
+
+
})
if (!v) return true;
return /^\d+[d|h]$/.test(v) && parseInt(v) > 0;
}, t("workflow_node.apply.form.validity_lifetime.placeholder")),
+ preferredChain: z.string().nullish(),
acmeProfile: z.string().nullish(),
disableFollowCNAME: z.boolean().nullish(),
disableARI: z.boolean().nullish(),
diff --git a/ui/src/i18n/locales/en/nls.workflow.nodes.json b/ui/src/i18n/locales/en/nls.workflow.nodes.json
index ef09ec6f..6d776085 100644
--- a/ui/src/i18n/locales/en/nls.workflow.nodes.json
+++ b/ui/src/i18n/locales/en/nls.workflow.nodes.json
@@ -102,8 +102,12 @@
"workflow_node.apply.form.validity_lifetime.tooltip": "It determines the NotAfter field of the certificate in the ACME protocol. If you don't understand this option, just keep it by default.",
"workflow_node.apply.form.validity_lifetime.units.h": "hours",
"workflow_node.apply.form.validity_lifetime.units.d": "days",
- "workflow_node.apply.form.acme_profile.label": "Certificate ACME profile (Optional)",
- "workflow_node.apply.form.acme_profile.placeholder": "Please enter certificate's ACME profile",
+ "workflow_node.apply.form.preferred_chain.label": "Preferred chain (Optional)",
+ "workflow_node.apply.form.preferred_chain.placeholder": "Please enter preferred chain",
+ "workflow_node.apply.form.preferred_chain.help": "Notes: Not all CAs support this feature.",
+ "workflow_node.apply.form.preferred_chain.tooltip": "It determines the PreferredChain field of the certificate in the ACME protocol. If you don't understand this option, just keep it by default. Click here to learn more.",
+ "workflow_node.apply.form.acme_profile.label": "ACME profile (Optional)",
+ "workflow_node.apply.form.acme_profile.placeholder": "Please enter ACME profile",
"workflow_node.apply.form.acme_profile.help": "Notes: Not all CAs support this feature.",
"workflow_node.apply.form.acme_profile.tooltip": "It determines the Profile field of the certificate in the ACME protocol. If you don't understand this option, just keep it by default. Click here to learn more.",
"workflow_node.apply.form.nameservers.label": "DNS recursive nameservers (Optional)",
diff --git a/ui/src/i18n/locales/zh/nls.workflow.nodes.json b/ui/src/i18n/locales/zh/nls.workflow.nodes.json
index 01d777c0..2b30afa1 100644
--- a/ui/src/i18n/locales/zh/nls.workflow.nodes.json
+++ b/ui/src/i18n/locales/zh/nls.workflow.nodes.json
@@ -101,10 +101,14 @@
"workflow_node.apply.form.validity_lifetime.tooltip": "表示证书的有效期。如果你不了解该选项的用途,保持默认即可。",
"workflow_node.apply.form.validity_lifetime.units.h": "小时",
"workflow_node.apply.form.validity_lifetime.units.d": "天",
- "workflow_node.apply.form.acme_profile.label": "证书 ACME 配置(可选)",
- "workflow_node.apply.form.acme_profile.placeholder": "请输入证书的 ACME 配置",
+ "workflow_node.apply.form.preferred_chain.label": "首选证书链(可选)",
+ "workflow_node.apply.form.preferred_chain.placeholder": "请输入首选证书链",
+ "workflow_node.apply.form.preferred_chain.help": "注意:并非所有证书颁发机构都支持此特性。",
+ "workflow_node.apply.form.preferred_chain.tooltip": "表示证书颁发时使用的首选证书链。如果你不了解该选项的用途,保持默认即可。 点此了解更多。",
+ "workflow_node.apply.form.acme_profile.label": "ACME 配置文件(可选)",
+ "workflow_node.apply.form.acme_profile.placeholder": "请输入 ACME 配置文件",
"workflow_node.apply.form.acme_profile.help": "注意:并非所有证书颁发机构都支持此特性。",
- "workflow_node.apply.form.acme_profile.tooltip": "表示证书颁发时使用的 ACME 证书配置。如果你不了解该选项的用途,保持默认即可。 点此了解更多。",
+ "workflow_node.apply.form.acme_profile.tooltip": "表示证书颁发时使用的 ACME 证书配置文件。如果你不了解该选项的用途,保持默认即可。 点此了解更多。",
"workflow_node.apply.form.nameservers.label": "DNS 递归服务器(可选)",
"workflow_node.apply.form.nameservers.placeholder": "请输入 DNS 递归服务器(多个值请用半角分号隔开)",
"workflow_node.apply.form.nameservers.tooltip": "表示在 ACME DNS-01 质询时使用自定义的 DNS 递归服务器。如果你不了解该选项的用途,保持默认即可。 点此了解更多。",