File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public void Install(string caCertFilePath)
4949
5050 if ( Environment . UserName != "root" )
5151 {
52- this . logger . LogWarning ( $ "无法自动安装根证书 { caCertFilePath } ,因为没有root权限") ;
52+ this . logger . LogWarning ( $ "无法自动安装CA证书 { caCertFilePath } ,因为没有root权限") ;
5353 return ;
5454 }
5555
@@ -58,12 +58,12 @@ public void Install(string caCertFilePath)
5858 Directory . CreateDirectory ( this . CaCertStorePath ) ;
5959 File . Copy ( caCertFilePath , destCertFilePath , overwrite : true ) ;
6060 Process . Start ( this . CaCertUpdatePath ) . WaitForExit ( ) ;
61- this . logger . LogInformation ( $ "已自动向系统安装根证书 { caCertFilePath } ") ;
61+ this . logger . LogInformation ( $ "已自动向系统安装CA证书 { caCertFilePath } ") ;
6262 }
6363 catch ( Exception ex )
6464 {
6565 File . Delete ( destCertFilePath ) ;
66- this . logger . LogWarning ( ex . Message , "自动安装证书异常 " ) ;
66+ this . logger . LogWarning ( ex . Message , "自动安装CA证书异常 " ) ;
6767 }
6868 }
6969 }
You can’t perform that action at this time.
0 commit comments