证书校验x509脚本权限分配bug更改
This commit is contained in:
@@ -217,7 +217,8 @@ public class PxyObjKeyringController extends BaseController {
|
|||||||
+File.separator
|
+File.separator
|
||||||
+Constants.CERT_VALIDATE_FILE).getPath();
|
+Constants.CERT_VALIDATE_FILE).getPath();
|
||||||
//x509脚本分配可执行权限
|
//x509脚本分配可执行权限
|
||||||
Map<String, Object> resultMap1=avCfgService.execShell("","chmod","+x",filePath);
|
Map<String, Object> resultMap1=avCfgService.execShell("","chmod","+x",x509Shell);
|
||||||
|
logger.info("x509脚本分配可执行权限:"+"chmod"+" "+"x"+" "+x509Shell);
|
||||||
//验证文件
|
//验证文件
|
||||||
logger.info(x509Shell+" "+validateType+" "+filePath);
|
logger.info(x509Shell+" "+validateType+" "+filePath);
|
||||||
Map<String, Object> resultMap=avCfgService.execShell(x509Shell,validateType,filePath);
|
Map<String, Object> resultMap=avCfgService.execShell(x509Shell,validateType,filePath);
|
||||||
|
|||||||
Reference in New Issue
Block a user