Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
curl 'https://download.sos-berlin.com/JobScheduler.2.2//patch-20220331-JS-1984-2.2.3.jar' -o /tmp/patch-20220331-JS-1984-2.2.3.jar
./js7_install_agent.sh \
--jar=/tmp/patch-20220331-JS-1984-2.2.3.jar \
--patch=JS-1984 \
--home=/home/sos/agent \
--http-port=4445 \
--exec-start=StartService \
--exec-stop=StopService
# downloads the patch .jar file from the SOS Web Site using curl
# stores patch files to the Agent's <home>/lib/patches sub-directory
# stops and starts the Agent's systemd service |
...
<config>/private/private.conf
Replacements are performed for the following placeholders by respective option values:
Placeholder Option Value {{controller-id}}
--controller-id
{{controller-primary-distinguished-name}}
--controller-primary-cert
{{controller-secondary-distinguished-name}}
--controller-secondary-cert
{{keystore-file}}
--keystore
{{keystore-password}}
--keystore-password
{{keystore-alias}}
--keystore-alias
{{truststore-file}}
--truststore
{{truststore-password}}
--truststore-password
Find a template for a
private.conf
file using placeholders for HTTPS mutual authentication:Code Block language yml title private.conf template file with placeholders collapse true js7 { auth { users { # Controller ID for connections by primary/secondary Controller instance {{controller-id}} { distinguished-names=[ "{{controller-primary-distinguished-name}}", "{{controller-secondary-distinguished-name}}" ] } } } configuration { # Locations of certificates and public keys used for signature verification trusted-signature-keys { # PGP=${js7.config-directory}"/private/trusted-pgp-keys" X509=${js7.config-directory}"/private/trusted-x509-keys" } } job { # Enable script execution from signed workflows^M execution { signed-script-injection-allowed=yes } } web { # Locations of keystore and truststore files for HTTPS connections https { keystore { # Default: ${js7.config-directory}"/private/https-keystore.p12" file=${js7.config-directory}"/private/{{keystore-file}}" key-password="{{keystore-password}}" store-password="{{keystore-password}}" # alias="{{keystore-alias}}" } truststores=[ { # Default: ${js7.config-directory}"/private//https-truststore.p12" file=${js7.config-directory}"/private/{{truststore-file}}" store-password="{{truststore-password}}" } ] } } }
...
Overview
Content Tools