隔离管理证书存储并保护既有入口引用

This commit is contained in:
xuans committed 2026-09-18 00:49:47 +08:00
1 parent 6d7972f9ab
commit ec432f0d8e
6 files changed
+313 -4

No files matched your search

+1 -1
View File
@@ -374,7 +374,7 @@ func TestServiceIssuesSetupCertificateWithTypedLayout(t *testing.T) {
if err != nil {
t.Fatalf("申请初始化证书失败:%v", err)
}
wantDirectory := filepath.Join(cfg.Paths.Certificate, "scert.example.com", "single", saved.Version)
wantDirectory := filepath.Join(cfg.Paths.Certificate, "management-domain", "scert.example.com", "single", saved.Version)
if saved.Directory != wantDirectory {
t.Fatalf("初始化证书目录错误:got=%q want=%q", saved.Directory, wantDirectory)
}