| | |
| | | BooleanArgument generateSelfSignedCertificateArg; |
| | | StringArgument hostNameArg; |
| | | BooleanArgument usePkcs11Arg; |
| | | StringArgument useBcfksArg; |
| | | private FileBasedArgument directoryManagerPwdFileArg; |
| | | private FileBasedArgument keyStorePasswordFileArg; |
| | | IntegerArgument ldapPortArg; |
| | |
| | | .buildArgument(); |
| | | addArgument(usePkcs11Arg); |
| | | |
| | | useBcfksArg = |
| | | StringArgument.builder("useBcfksKeystore") |
| | | .description(INFO_INSTALLDS_DESCRIPTION_USE_BCFKS.get()) |
| | | .valuePlaceholder(INFO_KEYSTOREPATH_PLACEHOLDER.get()) |
| | | .buildArgument(); |
| | | addArgument(useBcfksArg); |
| | | |
| | | useJavaKeyStoreArg = |
| | | StringArgument.builder("useJavaKeystore") |
| | | .description(INFO_INSTALLDS_DESCRIPTION_USE_JAVAKEYSTORE.get()) |
| | |
| | | { |
| | | certificateType++; |
| | | } |
| | | if (useBcfksArg.isPresent()) |
| | | { |
| | | certificateType++; |
| | | } |
| | | |
| | | if (certificateType > 1) |
| | | { |