초기화 로그 수정

master
mjkhan21 1 year ago
parent e3754b964a
commit dc6cfdbed1

@ -102,9 +102,7 @@ public class GPKI extends AbstractComponent {
envCert = Disk.readCert(filepath).getCert(); envCert = Disk.readCert(filepath).getCert();
filepath = conf.getPrivateKeyFile("env"); filepath = conf.getPrivateKeyFile("env");
log(GPKI.class).debug("env keyFile: {}", filepath); log(GPKI.class).debug("env keyFile: {}", filepath);
String keyPassword = conf.getPrivateKeyPassword("env"); envKey = Disk.readPriKey(filepath, conf.getPrivateKeyPassword("env")).getKey();
log(GPKI.class).debug("env keyPassword: {}", keyPassword);
envKey = Disk.readPriKey(filepath, keyPassword).getKey();
log(GPKI.class).debug("envKey loaded"); log(GPKI.class).debug("envKey loaded");
filepath = conf.getCertFile("sig"); filepath = conf.getCertFile("sig");
@ -112,9 +110,7 @@ public class GPKI extends AbstractComponent {
sigCert = Disk.readCert(filepath).getCert(); sigCert = Disk.readCert(filepath).getCert();
filepath = conf.getPrivateKeyFile("sig"); filepath = conf.getPrivateKeyFile("sig");
log(GPKI.class).debug("sig keyFile: {}", filepath); log(GPKI.class).debug("sig keyFile: {}", filepath);
keyPassword = conf.getPrivateKeyPassword("sig"); sigKey = Disk.readPriKey(filepath, conf.getPrivateKeyPassword("sig")).getKey();
log(GPKI.class).debug("sig keyPassword: {}", keyPassword);
sigKey = Disk.readPriKey(filepath, keyPassword).getKey();
log(GPKI.class).debug("sigKey loaded"); log(GPKI.class).debug("sigKey loaded");
finish(gpki); finish(gpki);

Loading…
Cancel
Save