diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2026-02-01 16:03:46 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2026-02-01 16:03:46 +0300 |
| commit | f3d47ebb3fbc65fc25a39d4ef0d4561407acc941 (patch) | |
| tree | 3d899d2767cb25f00c82fdc741558db157599b05 /web/html/form | |
| parent | 06c49b92f8ca29601b77b3198bc23f02c52fc9b9 (diff) | |
Refactor TLS peer cert verification settingsv2.8.9
Removed verifyPeerCertByNames and pinnedPeerCertSha256 from inbound TLS settings and UI. Added verifyPeerCertByName and pinnedPeerCertSha256 to outbound TLS settings and updated the outbound form to support these fields. This change streamlines and clarifies certificate verification configuration between inbound and outbound settings.
Diffstat (limited to 'web/html/form')
| -rw-r--r-- | web/html/form/outbound.html | 9 | ||||
| -rw-r--r-- | web/html/form/tls_settings.html | 9 |
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" }}'> |
