diff --git a/src/components/ConfigureNodeFormModal/JuicityForm.tsx b/src/components/ConfigureNodeFormModal/JuicityForm.tsx
index f64b27f3..130ffd0a 100644
--- a/src/components/ConfigureNodeFormModal/JuicityForm.tsx
+++ b/src/components/ConfigureNodeFormModal/JuicityForm.tsx
@@ -17,6 +17,7 @@ export const JuicityForm = ({ onLinkGeneration }: { onLinkGeneration: (link: str
const handleSubmit = onSubmit((values) => {
const query = {
congestion_control: values.congestion_control,
+ pinned_certchain_sha256: values.pinned_certchain_sha256,
sni: values.sni,
allow_insecure: values.allowInsecure,
}
@@ -56,6 +57,8 @@ export const JuicityForm = ({ onLinkGeneration }: { onLinkGeneration: (link: str
{...getInputProps('congestion_control')}
/>
+
+
diff --git a/src/constants/default.ts b/src/constants/default.ts
index 4dd8c666..d0ce8692 100644
--- a/src/constants/default.ts
+++ b/src/constants/default.ts
@@ -163,6 +163,7 @@ export const DEFAULT_JUICITY_FORM_VALUES: z.infer = {
allowInsecure: false,
uuid: '',
password: '',
+ pinned_certchain_sha256: '',
sni: '',
}
diff --git a/src/constants/schema.ts b/src/constants/schema.ts
index e7344886..8ea8b136 100644
--- a/src/constants/schema.ts
+++ b/src/constants/schema.ts
@@ -113,6 +113,7 @@ export const juicitySchema = z.object({
uuid: z.string().nonempty(),
password: z.string().nonempty(),
allowInsecure: z.boolean(),
+ pinned_certchain_sha256: z.string(),
sni: z.string(),
congestion_control: z.string(),
})
diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json
index 1235102d..2460e3bf 100644
--- a/src/i18n/locales/en.json
+++ b/src/i18n/locales/en.json
@@ -57,6 +57,7 @@
"password": "Password",
"path": "Path",
"pathObfuscation": "Path",
+ "pinned_certchain_sha256": "Pinned Certchain SHA256",
"port": "Port",
"protocol": "Protocol",
"protocolParam": "Protocol Param",
diff --git a/src/i18n/locales/zh-Hans.json b/src/i18n/locales/zh-Hans.json
index 6c254c9b..a101d4ac 100644
--- a/src/i18n/locales/zh-Hans.json
+++ b/src/i18n/locales/zh-Hans.json
@@ -57,6 +57,7 @@
"password": "密码",
"path": "路径",
"pathObfuscation": "路径 (path)",
+ "pinned_certchain_sha256": "固定证书链 SHA256",
"port": "端口号",
"protocol": "协议",
"protocolParam": "协议参数",