Page History
...
Expand | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
Explanation:
|
Examples
Example for use
...
with an HTTP Connection to JOC Cockpit
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
java -jar sos-commons-cli.jar com.sos.cli.ExecuteRollOut \ --token=73bfc4b8-3f15-44b9-a75b-cdb44aec8f4b \ --joc-uri=http://somehost.example.com:4446 \ --san="myhost.example.com, myhost" \ --subject-dn="CN=myhost, OU=IT Operations, O=SOS, C=DE, L=Berlin, S=Berlin" \ --key-alias=myhost \ --ca-alias="Root CA" \ --target-keystore=/var/sos-berlin.com/js7/controller/var/config/private/https-keystore.p12 \ --target-keystore-pass=jobscheduler \ --target-keystore-entry-pass=jobscheduler \ --target-truststore=/var/sos-berlin.com/js7/controller/var/config/private/https-truststore.p12 \ --target-truststore-pass=jobscheduler |
Explanation:
- tbd
Example for use
...
with an HTTPS Connection to JOC Cockpit
...
and Mutual Authentication from a Client Truststore
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
java -jar sos-commons-cli.jar com.sos.cli.ExecuteRollOut \ --token=73bfc4b8-3f15-44b9-a75b-cdb44aec8f4b \ --joc-uri=https://somehost.example.com:4446 \ --san="myhost.example.com, myhost" \ --subject-dn="CN=myhost, OU=IT Operations, O=SOS, C=DE, L=Berlin, S=Berlin" \ --key-alias=myhost \ --ca-alias="Root CA" \ --source-keystore=/home/sos/private/js7-keystore.p12 \ --source-keystore-pass="" \ --source-keystore-entry-pass="" \ --source-truststore=/home/sos/private/js7-truststore.p12 \ --source-truststore-pass="" \ --target-keystore=/var/sos-berlin.com/js7/controller/var/config/private/https-keystore.p12 \ --target-keystore-pass=jobscheduler \ --target-keystore-entry-pass=jobscheduler \ --target-truststore=/var/sos-berlin.com/js7/controller/var/config/private/https-truststore.p12 \ --target-truststore-pass=jobscheduler |
Explanation:
- tbd
Example for use
...
with an HTTPS Connection to JOC Cockpit
...
and Mutual Authentication from a Client Key File
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
java -jar sos-commons-cli.jar com.sos.cli.ExecuteRollOut \ --token=73bfc4b8-3f15-44b9-a75b-cdb44aec8f4b \ --joc-uri=https://myhost.example.com:4446 \ --san="myhost.example.com, myhost" \ --subject-dn="CN=myhost, OU=IT Operations, O=SOS, C=DE, L=Berlin, S=Berlin" \ --key-alias=myhost \ --ca-alias="Root CA" \ --source-private-key=/home/sos/private/myhost.key \ --source-certificate=/home/sos/public/myhost.pem \ --source-ca-cert="/home/sos/public/intermediate_ca.pem, /home/sos/public/root_ca.pem" \ --target-keystore=var/sos-berlin.com/js7/controller/var/config/private/https-keystore.p12 \ --target-keystore-pass=jobscheduler \ --target-keystore-entry-pass=jobscheduler \ --target-truststore=var/sos-berlin.com/js7/controller/var/config/private/https-truststore.p12 \ --target-truststore-pass=jobscheduler |
...