Page History
...
The following examples represent typical use cases. Users should consider to specify current releases, see JS7 - Download.
...
Creating a Keystore and Truststore (recommended)
Code Block | ||||
---|---|---|---|---|
| ||||
./js7_create_certificate_store.sh \ --keystore=./certs/https-keystore.p12 \ --truststore=./certs/https-truststore.p12 \ --key=./certs/apmaccs.key \ --cert=./certs/apmaccs.crt \ --alias=apmaccs \ --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 |
...
Creating a Keystore
Code Block | ||||
---|---|---|---|---|
| ||||
./js7_create_certificate_store.sh \ --keystore=./certs/https-keystore.p12 \ --key=./certs/apmaccs.key \ --cert=./certs/apmaccs.crt \ --alias=apmaccs \ --password=jobscheduler # creates a keystore from the key and certificate # the keystore will be protected with the given password |
...
Creating a Keystore with a Certificate Chain
Code Block | ||||
---|---|---|---|---|
| ||||
./js7_create_certificate_store.sh \ --keystore=./certs/https-keystore.p12 \ --key=./certs/apmaccs.key \ --cert=./certs/apmaccs.crt \ --alias=apmaccs \ --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 |
...
Creating a Truststore from a CA Certificate Bundle
Code Block | ||||
---|---|---|---|---|
| ||||
./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 |
...
Creating a Truststore from a CA Certificates
Code Block | ||||
---|---|---|---|---|
| ||||
./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 |
...
Creating a Keystore with Logs and Backups
Code Block | ||||
---|---|---|---|---|
| ||||
./js7_create_certificate_store.sh \ --keystore=./certs/https-keystore.p12 \ --key=./certs/apmaccs.key \ --cert=./certs/apmaccs.crt \ --alias=apmaccs \ --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 |
...
Overview
Content Tools