A CLI based on JSCEP (and JCommander)
Java
Latest commit ddb45db Oct 19, 2016 @asyd Update dependencies, version
Permalink
Failed to load latest commit information.
src
.gitignore
README.md
pom.xml

README.md

Build

$ git clone git://github.com/asyd/jscep-cli-jdk6.git
$ cd jscep-cli-jdk6
$ mvn assembly:assembly

Usage

$ java -jar target/jscepcli-1.0-SNAPSHOT-exe.jar
Usage: <main class> [options]
  Options:
        --algorithm             BouncyCastle signature algorithm to use
                                Default: SHA1
        --ca-certificate-file   CACert output file
                                Default: cacert.pem
        --ca-identifier         CA identifier (try AdminCA1 if using a default
                                EJBCA install)
        --certificate-file      Certificate output file
                                Default: cert.pem
  *     --challenge             Challenge password (EJBCA entity password)
        --crl-file              CRL output file
                                Default: crl.pem
        --csr-file              CSR output file
  *     --dn                    Subject DN to request
        --key-file              Private key output file
                                Default: privkey.pem
        --keySize               Size of key, if you want more than 2048, you
                                need the JCE
                                Default: 2048
    -t, --text                  Output PEM-format objects on stdout. (similar to
                                'openssl <cmd> -text')
                                Default: false
  *     --url                   SCEP URL. For EJBCA, use
                                http://<hostname>:<port>/ejbca/publicweb/apply/scep/pkiclient.exe
    -v, --verbose               Verbose output
                                Default: false