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 Details

    • caKeystoreFilename

      @Option(name="--ca", description="Filename for the CA keystore") protected String caKeystoreFilename
    • csrFilename

      @Option(name="--csrFile", description="The CSR to sign") protected String csrFilename
    • certFilename

      @Option(name="--certFile", description="Filename for the signed certificate") protected String certFilename
    • PROMPT_ENTER_CA_PASSWORD

      public static final CommandLineConsole.Prompt PROMPT_ENTER_CA_PASSWORD
    • PROMPT_ENTER_CERTIFICATE_VALIDITY_IN_DAYS

      public static final CommandLineConsole.Prompt PROMPT_ENTER_CERTIFICATE_VALIDITY_IN_DAYS
  • Constructor Details

    • CertutilCsrSign

      public CertutilCsrSign()
    • CertutilCsrSign

      public CertutilCsrSign(String caKeystoreFilename, String csrFilename, String certFilename, CommandLineConsole console)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable