修改keyring可信证书和不可信证书名称

This commit is contained in:
wangwei
2019-06-20 17:50:51 +08:00
parent 620f26fa2f
commit cf6d462feb

View File

@@ -542,8 +542,10 @@ public class PxyObjKeyringService extends BaseService{
//0为不可信证书1可信证书
if(cfg.getIssuer().indexOf("UNTRUST") > -1) {
cfg.setCompileId(0);
cfg.setCfgDesc("Default_Untrusted_Certificate");
}else {
cfg.setCompileId(1);
cfg.setCfgDesc("Default_Trusted_Certificate");
}
cfg.setCreateTime(date);
cfg.setCreatorId(UserUtils.getUser().getId());