老九 3 years ago
parent
commit
0ec47bc23a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      FastGithub.HttpServer/CaCertInstallerOfLinux.cs

+ 3 - 3
FastGithub.HttpServer/CaCertInstallerOfLinux.cs

@@ -49,7 +49,7 @@ namespace FastGithub.HttpServer
 
             if (Environment.UserName != "root")
             {
-                this.logger.LogWarning($"无法自动安装证书{caCertFilePath},因为没有root权限");
+                this.logger.LogWarning($"无法自动安装CA证书{caCertFilePath},因为没有root权限");
                 return;
             }
 
@@ -58,12 +58,12 @@ namespace FastGithub.HttpServer
                 Directory.CreateDirectory(this.CaCertStorePath);
                 File.Copy(caCertFilePath, destCertFilePath, overwrite: true);
                 Process.Start(this.CaCertUpdatePath).WaitForExit();
-                this.logger.LogInformation($"已自动向系统安装证书{caCertFilePath}");
+                this.logger.LogInformation($"已自动向系统安装CA证书{caCertFilePath}");
             }
             catch (Exception ex)
             {
                 File.Delete(destCertFilePath);
-                this.logger.LogWarning(ex.Message, "自动安装证书异常");
+                this.logger.LogWarning(ex.Message, "自动安装CA证书异常");
             }
         }
     }