Redwood Documentation

Product Documentation

 

›Command Line Tools

RunMyJobsPlatform Agents

External Platforms

  • Connecting Redwood Server to External Platforms

Credentials

  • Storing Credentials
  • Credential Protocols

Platform Process Servers

  • On-site Platform Process Servers
  • Cloud Platform Agents
  • Using the Wizard to Create Process Servers
  • Configuring Platform Agents
  • Spool Host Agents
  • The Environment of Platform Agent OS Processes
  • Processing Platform Processes
  • Process Server Services
  • Configuring Agentless Process Servers
  • Automatically Updating Platform Agents
  • Enabling TLS
  • Creating Monitoring Checks
  • Configuring Load Balancing on Platform Agents
  • Platform Agent Registry Entries
  • Monitoring Servers with Platform Process Servers

UNIX Agents

  • UNIX Process Servers
  • UNIX Process Server Configuration Data
  • File Events on UNIX
  • Creating UNIX Process Servers (Advanced)
  • Choosing a User Switching Security Mode
  • Controlling Unix Platform Agents
  • Uninstalling Redwood Server Platform Agents from UNIX

Windows Agents

  • Creating a Microsoft Windows Process Server
  • File Events on Microsoft Windows Process Servers
  • Configuration of a Microsoft Windows Process Server
  • Managed Services
  • Configuring Platform Agents on Microsoft Windows
  • Automating Windows tasks that require a desktop window
  • Uninstalling Redwood Server from Microsoft Windows

Agent Definition Types

  • Using the BASH Definition Type
  • Using the KSH Definition Type
  • Using the CSH Definition Type
  • Using the Perl Definition Type
  • Using the Python Definition Type
  • Using the PowerShell Definition Type
  • Using the Visual Basic Script Definition Type
  • Using the CMD Definition Type
  • Using the R Process Definition Type
  • Using the DCL Definition Type
  • Using Platform Definition Types
  • Using the OS Native Definition Type
  • Microsoft Windows Definition Types
  • Using the SQLPLUS Definition Type
  • Using the FTP Definition Type
  • Using the Groovy Definition Type

Command Line Tools

  • Command Line System Tools
  • jtool
  • jcat
  • jdescription
  • jevent
  • jecho
  • jftp
  • JFTP Return Codes
  • jgetcredential
  • jgetfile
  • jgetpar
  • jjoin
  • jlink
  • jlog
  • jmail
  • jmessage
  • jmonitor
  • jputfile
  • jregister
  • jrfc
  • jscp
  • jtool screenshot
  • jscript
  • jsecret
  • jsleep
  • jsplit
  • api-tool.jar

OpenVMS Process Servers

  • Creating HP OpenVMS Process Servers
  • Installing the Platform Agent on HP OpenVMS
  • Configuring HP OpenVMS Process Servers
  • File Events on HP OpenVMS
  • HP OpenVMS Definition Types

AS/400 Connector

  • IBM AS/400 Connector Architecture
  • Setting up the IBM AS/400 Connector
  • Creating an IBM AS/400 Process Server
  • Files on AS/400 Raise Events
  • Using the AS/400 Definition Type
  • Redwood Server OS Support
  • IBM z/OS Definition Types
  • Using the JCL_FTP Definition Type
  • IBM z/OS System Tools

Reference

  • Balancing the Load
  • Credential Protocols
← jscriptjsleep →

jsecret, jtool secret

The jsecret executable is a platform agent tool. It creates an encrypted connection file which acts like password file, containing all the necessary information to connect to the central Redwood Server, like username, password, hostname and port of the central Redwood Server. These connection files can be used by various platform agent tools such as jevent.

It can also be used to generate a shared secret, which is used by the platform agent and the central Redwood Server to ensure the desired process server, from the desired central Redwood Server, is connected to the desired platform agent.

Generating a Connection File

jsecret -c [-proxy <url>] [-auth <method>] <filename> <url>
ArgumentDescription
-cCreate a connection file
<filename>The name of the file
-proxy <url>The proxy server to use
-auth <method>The authentication method to use for the proxy; <method> can be either basic (default) or none when the proxy server requires no authentication
<url>The URL of the target system, such as http[s]://<hostname>:<port>/<context>, for example https://pr1.example.com:10180/redwood

Proxy Settings

The following environment variables are used to retrieve proxy server connection details:

  • HTTP_PROXY - The URL to the proxy server, https://proxy.example.com:3128
  • PROXY_USER - The user for the proxy server, ignored if HTTP_PROXY is not set
  • PROXY_PASSWORD - The password for the proxy user, ignored if HTTP_PROXY is not set
  • NO_PROXY - Enforce a direct connection
note

These environment variables override the settings in the connection file for all tools that connect to the central Redwood server.

Generating a Shared Secret File

jsecret -n <filename>
ArgumentDescriptionDefault
-nCreate a shared secret

<filename>path to the filenet/instance/<instance_name>/private/secret

Generating a proxy_url_password secret file

jsecret -p <filename>
ArgumentDescriptionDefault
-pCreate a file containing the password to the proxy server as defined in the proxy_url configuration file. You move the output file of this command to proxy_url_password and store it in the private directory for your platform agent instance.

<filename>path to the file<install_directory>/net/instance/<instance_name>/private/proxy_url_password

Generating MD5 Checksums

jsecret -md5 <filename>
ArgumentDescription
-md5Create an md5 checksum of the file
<filename>Name of the file

Generating SHA1 Checksums

jsecret -sha1 <filename>
ArgumentDescription
-sha1Create a SHA1 checksum of the file
<filename>Name of the file

Generating SHA256 Checksums

jsecret -sha256 <filename>
ArgumentDescription
-sha256Create a SHA256 checksum of the file
<filename>Name of the file

Examples

Generating a connection file for raising events

$ jsecret -c ./example.conn https://pr1.example.com:50000/redwood
Username:admin
Password:*****
$ ls -l ./example.conn
-rw------- 1 redwood users 240 nov 18 15:16 ./example.conn

Generating a connection file for jftp

$ jsecret -c ./ftp.sec ftp://ftp.example.com:21
Username:admin
Password:*****
$ ls -l ./ftp.sec
-rw------- 1 redwood users 240 nov 18 15:17 ./ftp.sec

Generating a connection file in a process

(jecho "username"&&jecho "password") | jsecret -c ./ftp.sec ftp://ftp.example.com:21

Generating a shared secret file

jsecret -n net/instance/<instance>/private/secret

Generating a proxy_url_password file

jsecret -p net/instance/<instance>/private/proxy_url_password
note

The proxy_url and proxy_url_password files can contain more than one URL/password in a comma-separated list. See Configuring Platform Agents for more information.

See Also

  • Command Line System Tools
← jscriptjsleep →
Docs
Getting StartedInstallationFinance InstallationConcepts
TroubleshootingArchiving
Learn and Connect
Support Portal
BlogEventsResources
ISO/ IEC 27001 Information Security Management
Automate to be human

2023 All Rights Reserved |

Terms of Service | Policies | Cookies | Glossary | Third-party Software | Contact | Copyright | Impressum |