Package org.graylog.security.certutil
Class CertutilCsrSign
java.lang.Object
org.graylog.security.certutil.CertutilCsrSign
- All Implemented Interfaces:
Runnable,CliCommand
@Command(name="csrsign",
description="Signs a CSR using the given CA",
groupNames="certutil")
public class CertutilCsrSign
extends Object
implements CliCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringstatic final CommandLineConsole.Promptstatic final CommandLineConsole.Prompt -
Constructor Summary
ConstructorsConstructorDescriptionCertutilCsrSign(String caKeystoreFilename, String csrFilename, String certFilename, CommandLineConsole console) -
Method Summary
-
Field Details
-
caKeystoreFilename
@Option(name="--ca", description="Filename for the CA keystore") protected String caKeystoreFilename -
csrFilename
-
certFilename
@Option(name="--certFile", description="Filename for the signed certificate") protected String certFilename -
PROMPT_ENTER_CA_PASSWORD
-
PROMPT_ENTER_CERTIFICATE_VALIDITY_IN_DAYS
-
-
Constructor Details
-
CertutilCsrSign
public CertutilCsrSign() -
CertutilCsrSign
public CertutilCsrSign(String caKeystoreFilename, String csrFilename, String certFilename, CommandLineConsole console)
-
-
Method Details