Page History
...
- using KeyStore/Truststore
- The following parameters have to be set
- --source-keystore
- required
- -source-keystore-type
- optional
- has to be set if JKS is used
- --source-keystore-pass
- optional
- has to be set if the keystore is secured with a password
- --source-keystore-entry-pass
- optional
- has to be set if the private key entry is secured with a password
- --source-truststore
- required
- --source-truststore-type
- optional
- has to be set if JKS is used
- --source-truststore-pass
- optional
- has to be set if the truststore is secured with a password
- --source-keystore
- The following parameters have to be set
- using key and certificate files instead of stores
- The following parameters have to be set
- --source-private-key
- required
- --source-certificate
- required
- --source-ca-cert
- required
- --source-private-key
- The following parameters have to be set
Examples
The jar file to use is present in two forms
- sos-commons-cli-2-0-0-SNAPSHOT.jar
- this is a standard jar file
- using this jar needs to get the complete classpath set from the outside
- sos-commons-cli-2-0-0-SNAPSHOT-jar-with-dependencies.jar
- this is a fat/uber jar file
- using this jar needs no classpath at all
The filename of the jar file should be changed through the setup, so that customers will later only have to call sos-commons-cli.jar or a different desired name in either way (external classpath in agent, without classpath in the controller)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
java -jar sos-commons-cli.jar com.sos.cli.ExecuteRollOut --token=73bfc4b8-3f15-44b9-a75b-cdb44aec8f4b --joc-uri=http://sp.sos:3333 --san="sp.sos, sp" --subject-dn="CN=sp, OU=development, O=SOS, C=DE, L=Berlin, S=Berlin" --target-keystore=C:/sp/devel/js7/testing/CLI/controller/withHTTP/https-keystore.p12 --target-keystore-type=PKCS12 --target-keystore-pass=jobscheduler --target-keystore-entry-pass=jobscheduler --target-truststore=C:/sp/devel/js7/testing/CLI/controller/withHTTP/https-truststore.p12 --target-truststore-type=PKCS12 --target-truststore-pass=jobscheduler --key-alias=sp --ca-alias=sp root ca |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
java -jar sos-commons-cli.jar com.sos.cli.ExecuteRollOut --token=73bfc4b8-3f15-44b9-a75b-cdb44aec8f4b --joc-uri=http://sp.sos:3333 --san="sp.sos, sp" --subject-dn="CN=sp, OU=development, O=SOS, C=DE, L=Berlin, S=Berlin" --source-keystore=C:/sp/devel/js7/keys/sp-keystore.p12 -source-keystore-type=PKCS12 --source-keystore-pass="" --source-keystore-entry-pass="" --source-truststore=
C:/sp/devel/js7/keys/sp-truststore.p12 --source-truststore-type=PKCS12 --source-truststore-pass="" --target-keystore=C:/sp/devel/js7/testing/CLI/controller/withHTTP/https-keystore.p12 --target-keystore-type=PKCS12 --target-keystore-pass=jobscheduler --target-keystore-entry-pass=jobscheduler --target-truststore=C:/sp/devel/js7/testing/CLI/controller/withHTTP/https-truststore.p12 --target-truststore-type=PKCS12 --target-truststore-pass=jobscheduler --key-alias=sp --ca-alias=sp root ca |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
java -jar sos-commons-cli.jar com.sos.cli.ExecuteRollOut --token=73bfc4b8-3f15-44b9-a75b-cdb44aec8f4b --joc-uri=http://sp.sos:3333 --san="sp.sos, sp" --subject-dn="CN=sp, OU=development, O=SOS, C=DE, L=Berlin, S=Berlin" --source-private-key=C:/sp/devel/js7/keys/sp/sp.key --source-certificate=C:/sp/devel/js7/keys/sp/sp.cer --source-ca-cert="C:/sp/devel/js7/keys/sp/sos_intermediate_ca.cer, C:/sp/devel/js7/keys/sp/sos_root_ca.cer" --target-keystore=C:/sp/devel/js7/testing/CLI/controller/withHTTP/https-keystore.p12 --target-keystore-type=PKCS12 --target-keystore-pass=jobscheduler --target-keystore-entry-pass=jobscheduler --target-truststore=C:/sp/devel/js7/testing/CLI/controller/withHTTP/https-truststore.p12 --target-truststore-type=PKCS12 --target-truststore-pass=jobscheduler --key-alias=sp --ca-alias=sp root ca |
Overview
Content Tools