fix: generate a per-installation root CA

This commit is contained in:
leokun committed 2026-08-12 20:04:29 +08:00
1 parent 7a67e76617
commit 2b8d1c9e3d
14 files changed
+454 -89

No files matched your search

+5
View File
@@ -70,3 +70,8 @@ func LogsRootPath() string {
func CACertFilePath() string {
return filepath.Join(DataRootPath(), "ca.crt")
}
// CAKeyFilePath 返回仅供本安装使用的 CA 私钥路径。
func CAKeyFilePath() string {
return filepath.Join(DataRootPath(), "ca.key")
}