Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/form')
-rw-r--r--web/html/form/outbound.html9
-rw-r--r--web/html/form/tls_settings.html9
2 files changed, 9 insertions, 9 deletions
diff --git a/web/html/form/outbound.html b/web/html/form/outbound.html
index ce917b21..4df095d4 100644
--- a/web/html/form/outbound.html
+++ b/web/html/form/outbound.html
@@ -703,6 +703,15 @@
<a-form-item label="Allow Insecure">
<a-switch v-model="outbound.stream.tls.allowInsecure"></a-switch>
</a-form-item>
+ <a-form-item label="verify Peer Cert By Name">
+ <a-input
+ v-model.trim="outbound.stream.tls.verifyPeerCertByName"></a-input>
+ </a-form-item>
+ <a-form-item label="pinned Peer Cert Sha256">
+ <a-input v-model.trim="outbound.stream.tls.pinnedPeerCertSha256"
+ placeholder="Enter SHA256 fingerprints (base64)">
+ </a-input>
+ </a-form-item>
</template>
<!-- reality settings -->
diff --git a/web/html/form/tls_settings.html b/web/html/form/tls_settings.html
index 7b5d53b8..b2368d4f 100644
--- a/web/html/form/tls_settings.html
+++ b/web/html/form/tls_settings.html
@@ -70,15 +70,6 @@
<a-form-item label="Session Resumption">
<a-switch v-model="inbound.stream.tls.enableSessionResumption"></a-switch>
</a-form-item>
- <a-form-item label="verifyPeerCertByNames">
- <a-input v-model.trim="inbound.stream.tls.verifyPeerCertByNames"></a-input>
- </a-form-item>
- <a-form-item label="pinned Peer Cert Sha256">
- <a-select mode="tags" v-model="inbound.stream.tls.pinnedPeerCertSha256"
- :dropdown-class-name="themeSwitcher.currentTheme"
- placeholder="Enter SHA256 fingerprints (base64)">
- </a-select>
- </a-form-item>
<a-divider :style="{ margin: '3px 0' }"></a-divider>
<template v-for="cert,index in inbound.stream.tls.certs">
<a-form-item label='{{ i18n "certificate" }}'>