🚧 Fix issue where cert cleanup fails

- Delete temp directory using FileTree visitor recursively
- Update CertificateRequestBuilder to accept subject info directly from
  builder
This commit is contained in:
Magnus Leßmann (@MarkL4YG) 2024-11-17 18:13:50 +01:00
parent 98a6556bf9
commit b5571aa2e5
6 changed files with 124 additions and 87 deletions

View file

@ -1,17 +1,16 @@
package de.mlessmann.certassist.except;
import lombok.Getter;
public class UnresolvableCLIDependency extends Exception {
@Getter
private final String executableName;
@Getter
private final String propertyName;
public UnresolvableCLIDependency(String executableName, String propertyName) {
super("Could not resolve executable for '%s'. (Use property '%s' to point the application directly to the executable.)".formatted(executableName, propertyName));
this.executableName = executableName;
this.propertyName = propertyName;
}
}
package de.mlessmann.certassist.except;
import lombok.Getter;
@Getter
public class UnresolvableCLIDependency extends Exception {
private final String executableName;
private final String propertyName;
public UnresolvableCLIDependency(String executableName, String propertyName) {
super("Could not resolve executable for '%s'. (Use property '%s' to point the application directly to the executable.)".formatted(executableName, propertyName));
this.executableName = executableName;
this.propertyName = propertyName;
}
}