使用专用证书默认目录并拒绝接管其他账户目录
This commit is contained in:
1 parent
4dfcecfd21
commit
2d84f16554
9 files changed
+89
-12
No files matched your search
@@ -168,7 +168,7 @@ func Default(baseDir string) Config {
|
||||
|
||||
func DefaultPaths(baseDir string) PathsConfig {
|
||||
if runtime.GOOS == "linux" {
|
||||
certificateRoot := "/ssl"
|
||||
certificateRoot := "/ssl/scert"
|
||||
if strings.TrimSpace(baseDir) == "" {
|
||||
if installedRoot, err := readInstalledCertificateRoot(LinuxInstallationMetadataPath); err == nil {
|
||||
certificateRoot = installedRoot
|
||||
|
||||
Reference in new issue
Block a user