Работа над распаковкой TLS

This commit is contained in:
serega6531
2020-05-01 00:00:50 +03:00
parent 1cc9755d21
commit 49dcd974bc
7 changed files with 79 additions and 65 deletions

View File

@@ -33,6 +33,7 @@ public class RsaKeysHolder {
@EventListener(ApplicationReadyEvent.class)
public void afterStartup(ApplicationReadyEvent event) {
log.info("Loading RSA keys...");
File dir = new File("rsa_keys");
if (dir.exists() && dir.isDirectory()) {
for (File keyFile : Objects.requireNonNull(dir.listFiles())) {