fix: Renaming issues & re-used usage closing twice

This commit is contained in:
Magnus Leßmann (@MarkL4YG) 2024-11-20 16:53:10 +01:00
parent 1d6bf0facc
commit 3e4fba83db
3 changed files with 22 additions and 10 deletions

View file

@ -282,11 +282,8 @@ public class OpenSSLCertificateCreator {
"-out",
outFile.toString(),
"-extfile",
extFile.toString(),
"-passout",
"env:KEY_PASS"
extFile.toString()
)
.environment("KEY_PASS", certPassword)
.redirectOutput(Slf4jStream.ofCaller().asDebug())
.redirectError(Slf4jStream.ofCaller().asError())
.start();