收紧SSH密码认证并明确证书私钥边界

移除 SSH 密钥登录相关生产提示与入口,强制服务器连接使用密码认证,明确 HTTPS 证书私钥仅用于 TLS 部署,并更新安全复审记录。
This commit is contained in:
xuans committed 2026-10-02 09:57:46 +08:00
1 parent 266eea723c
commit 81b84acadb
10 files changed
+45 -8

No files matched your search

+2 -2
View File
@@ -395,7 +395,7 @@ const { activeSection, activeLabel, sections, selectSection } = useDashboardNavi
</div>
<div v-if="servers.length === 0" class="empty-state">
<strong>还没有部署服务器</strong
><span>添加 SSH 服务器后,证书申请成功可自动部署。</span
><span>添加部署服务器后,证书申请成功可自动部署。</span
><button class="primary-button" type="button" @click="openServerCreate">
添加部署服务器
</button>
@@ -460,7 +460,7 @@ const { activeSection, activeLabel, sections, selectSection } = useDashboardNavi
<input type="file" accept=".pem,.crt,.cer,.txt" required @change="selectCertificateImportFile('certificate', $event)" />
</label>
<label class="field">
<span>证书密钥文件 <small>必选,仅用于 HTTPS 证书部署</small></span>
<span>HTTPS 证书私钥文件 <small>必选,仅用于 HTTPS 证书部署</small></span>
<input type="file" accept=".pem,.key,.txt" required @change="selectCertificateImportFile('private_key', $event)" />
</label>
<label class="field">
+2 -2
View File
@@ -107,8 +107,8 @@ const {
</label>
<label class="field server-form-field-wide">
<span>
SSH 主机 SHA256 指纹
<HelpTip>请填写通过可信渠道核对过的服务器主机指纹,避免连接到错误的服务器。</HelpTip>
服务器 SHA256 指纹
<HelpTip>请填写通过可信渠道核对过的服务器指纹,避免连接到错误的服务器。</HelpTip>
</span>
<input
v-model="serverForm.host_key_fingerprint"