From 50d0095a624459ba8eeea98fa858a9b8c40fb46d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Sun, 25 Jan 2026 22:58:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0litessl=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/http/request/cert_account.go | 4 ++-- web/src/views/cert/AccountView.vue | 2 +- web/src/views/cert/CreateAccountModal.vue | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/http/request/cert_account.go b/internal/http/request/cert_account.go index 956fb464..67500e27 100644 --- a/internal/http/request/cert_account.go +++ b/internal/http/request/cert_account.go @@ -1,7 +1,7 @@ package request type CertAccountCreate struct { - CA string `form:"ca" json:"ca" validate:"required|in:googlecn,google,letsencrypt,buypass,zerossl,sslcom"` + CA string `form:"ca" json:"ca" validate:"required|in:googlecn,google,letsencrypt,litessl,buypass,zerossl,sslcom"` Email string `form:"email" json:"email" validate:"required"` Kid string `form:"kid" json:"kid"` HmacEncoded string `form:"hmac_encoded" json:"hmac_encoded"` @@ -10,7 +10,7 @@ type CertAccountCreate struct { type CertAccountUpdate struct { ID uint `form:"id" json:"id" validate:"required|exists:cert_accounts,id"` - CA string `form:"ca" json:"ca" validate:"required|in:googlecn,google,letsencrypt,buypass,zerossl,sslcom"` + CA string `form:"ca" json:"ca" validate:"required|in:googlecn,google,letsencrypt,litessl,buypass,zerossl,sslcom"` Email string `form:"email" json:"email" validate:"required"` Kid string `form:"kid" json:"kid"` HmacEncoded string `form:"hmac_encoded" json:"hmac_encoded"` diff --git a/web/src/views/cert/AccountView.vue b/web/src/views/cert/AccountView.vue index cf900464..f9061698 100644 --- a/web/src/views/cert/AccountView.vue +++ b/web/src/views/cert/AccountView.vue @@ -213,7 +213,7 @@ onUnmounted(() => { {{ $gettext( - 'Google and SSL.com require obtaining KID and HMAC from their official websites first' + 'LiteSSL, Google and SSL.com require obtaining EAB (KID and HMAC) from their official websites first' ) }} diff --git a/web/src/views/cert/CreateAccountModal.vue b/web/src/views/cert/CreateAccountModal.vue index 9dd55c23..1d86e7a3 100644 --- a/web/src/views/cert/CreateAccountModal.vue +++ b/web/src/views/cert/CreateAccountModal.vue @@ -70,7 +70,7 @@ const handleCreateAccount = () => { {{ $gettext( - 'Google and SSL.com require obtaining KID and HMAC from their official websites first' + 'LiteSSL, Google and SSL.com require obtaining EAB (KID and HMAC) from their official websites first' ) }}