Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleExample for use of Certificate Management Script
linenumberstrue
./js7_create_certificate_store.sh \
    --keystore=./certs/https-keystore.p12 \
    --truststore=./certs/https-truststore.p12 \
    --key=./certsprivate/apmaccscentostest-primary.key \
    --cert=./certs/apmaccscentostest-primary.crt \
    --alias=apmaccs centostest-primary\
    --password=jobscheduler \
    --ca-cert=./certs/ca-bundle.crt

# creates a keystore from the key and certificate
# creates a truststore from the CA Certificate Bundle
# the keystore and truststore will be protected with the given password

...

Code Block
titleExample for use of Certificate Management Script
linenumberstrue
./js7_create_certificate_store.sh \
    --keystore=./certs/https-keystore.p12 \
    --key=./certsprivate/apmaccscentostest-primary.key \
    --cert=./certs/apmaccscentostest-primary.crt \
    --alias=apmaccscentostest-primary \
    --password=jobscheduler

# creates a keystore from the key and certificate
# the keystore will be protected with the given password

...

Code Block
titleExample for use of Certificate Management Script
linenumberstrue
./js7_create_certificate_store.sh \
    --keystore=./certs/https-keystore.p12 \
    --key=./certsprivate/apmaccscentostest-primary.key \
    --cert=./certs/apmaccscentostest-primary.crt \
    --alias=apmaccs centostest-primary\
    --password=jobscheduler \
    --ca-cert=./certs/ca-bundle.crt \
    --chain

# creates a keystore from the key and certificate
# adds the certificate chain from the CA Certificate Bundle to the keystore
# the keystore will be protected with the given password

...

Code Block
titleExample for use of Certificate Management Script
linenumberstrue
./js7_create_certificate_store.sh \
    --truststore=./certs/https-truststore.p12 \
    --password=jobscheduler \
    --ca-cert=./certs/ca-bundle.crt
 
# creates a truststore from the CA Certificate Bundle
# the truststore will be protected with the given password

...

Code Block
titleExample for use of Certificate Management Script
linenumberstrue
./js7_create_certificate_store.sh \
    --truststore=./certs/https-truststore.p12 \
    --password=jobscheduler \
    --ca-root=./certs/root-ca.crt \
    --ca-intermediate=./certs/sos.intermediate-ca-1.crt,./certs/sos.intermediate-ca-2.crt

# creates a truststore from the Intermediate CA Certificates and the Root CA Certficate
# the truststore will be protected with the given password

...

Code Block
titleExample for use of Certificate Management Script
linenumberstrue
./js7_create_certificate_store.sh \
    --keystore=./certs/https-keystore.p12 \
    --key=./certsprivate/apmaccscentostest-primary.key \
    --cert=./certs/apmaccscentostest-primary.crt \
    --alias=apmaccs centostest-primary\
    --password=jobscheduler \
    --log-dir=./logs \
    --backup-dir=./backup

# creates a keystore from the key and certificate
# creates a log file in the indicated directory
# creates a backup file of the keystore in the indicated directory

...