Versions Compared

Key

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

...

  • the cert argument for the instance startscript to build the classpath and start the java executable
  • The --token argument specifies the one-time token to connect to JOC Cockpit once.
  • The --joc-uri argument specifies the URL for JOC Cockpit. 
  • If other arguments are not set the java executable tries to determine default values for the Key-/Trustsstore from the instances ./config/private/private.conf configuration, defaults for the DN and the SAN of the certificate.

Example for use with the Controller-/Agent-Instance Startscript to update relevant DN entries

Code Block
languagebash
titlewith instance startscript and default values
collapsetrue
./bin/controller_instance.sh cert --dn-only --token=73bfc4b8-3f15-44b9-a75b-cdb44aec8f4b --joc-uri=https://myhost.example.com:4446
OR
./bin/agent_<Port>.sh cert --dn-only --token=73bfc4b8-3f15-44b9-a75b-cdb44aec8f4b --joc-uri=https://myhost.example.com:4446

Explanation:

  • With the  --dn-only argument set no certificates are generated. Only relevant distinguished names (DNs) will be updated in the ./config/private/private.conf configuration.