초기화 로그 수정

master
mjkhan21 1 year ago
parent e3754b964a
commit dc6cfdbed1

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

Loading…
Cancel
Save