证书校验x509脚本权限分配bug更改

This commit is contained in:
duandongmei
2018-10-30 09:35:54 +08:00
parent 69c34ecdb7
commit 38ebfb07c0

View File

@@ -217,7 +217,8 @@ public class PxyObjKeyringController extends BaseController {
+File.separator
+Constants.CERT_VALIDATE_FILE).getPath();
//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);
Map<String, Object> resultMap=avCfgService.execShell(x509Shell,validateType,filePath);