Renew a Workato On-Prem Agent (OPA) certificate before it expires. To maintain uninterrupted connectivity between Workato and your on-premise environment.
To help prevent certificate expiration issues, Unimarket automatically displays a notification in the customer's Workato workspace and creates a support ticket with the Unimarket Support team 30 days before the certificate expires.
Prerequisites
Before starting, ensure that:
- You have administrator access to the Workato workspace.
- You have access to the existing OPA host server.
- The existing OPA is operational.
- You can create a new agent within the same Workato On-Prem Group.
- You have saved the activation code for the new agent. The code expires about one hour after it is generated, so generate it just before you run the activation script. Select Regenerate code in the setup wizard if it lapses.
- You have appropriate permissions to access the OPA installation directory.
Optional: Request Access to the Workato Workspace
If you do not already have access:
- Create a free Workato account at Workato Sign Up.
- Email Unimarket Support and request the Collaborator role for your organization's Workato workspace.
- Once access is granted, you can manage the certificate renewal process directly.
Step 1: Create a New On-Prem Agent
- In Workato, create a new On-Prem Agent in the same On-Prem Group as the existing agent.
-
Name the new agent using the format:
{Customer Name} PROD OPA 2026 - Complete the agent creation process.
- Copy and save the Activation Code displayed during setup.
Note: You do not need to download or install a new agent unless you are also performing an agent upgrade.
Step 2: Backup the Existing Certificate Files
Windows
Navigate to the
conffolder within the existing OPA installation directory.
Default location:C:\Program Files\Workato Agent\confMove
cert.pemandcert.keyto a secure backup location.
Linux (RPM install)
On an RPM install, the certificate files are stored in /etc/workato-agent/. There is no separate conf folder: /usr/lib/workato-agent/conf is a symbolic link to /etc/workato-agent.
NOTE: The workato service account has a nologin shell and no home directory by design. su - workato fails with "This account is currently not available". Use the -s /bin/bash form shown below instead. Do not change the account's shell.
-
Stop the agent service and confirm it is stopped:
sudo systemctl stop workato-agentsystemctl is-active workato-agent
The second command should return
inactive. -
Back up the old certificate and key to a restricted location, as your admin user:
sudo mkdir -p -m 700 /root/opa-cert-backupsudo cp -p /etc/workato-agent/cert.pem /etc/workato-agent/cert.key /root/opa-cert-backup/
-
Open a shell as the
workatouser and confirm the files:sudo su -s /bin/bash workatowhoamicd /etc/workato-agentls -la
whoamishould returnworkato. You should seecert.pem,cert.key, andconfig.yml.sample. A warning about the home directory is harmless. -
Remove only the two expired certificate files:
rm cert.pem cert.keyDo not remove any other file. If a
config.ymlexists, leave it in place.
Step 3: Generate a New Certificate
Windows
Open a command prompt or terminal and change to the Workato Agent
bindirectory.
Default location:C:\Program Files\Workato Agent\bin
-
Run the activation script using the activation code from Step 1:
activate.cmd --code=ACTIVATION_CODE Confirm that new versions of
cert.pemandcert.keyare generated.
Linux (RPM install)
Continue in the workato shell from Step 2.
-
Run the activation script using its full path and the activation code from Step 1:
/usr/lib/workato-agent/bin/activate.sh --code=ACTIVATION_CODE -
Confirm that new certificate files were created, dated today and owned by
workato:ls -la /etc/workato-agent -
Leave the
workatoshell:exit
NOTE: The script is named activate.sh on Linux, not activate.cmd or activate. Use the full path, because a relative bin/activate.sh only works from inside /usr/lib/workato-agent.If the script is not at that path, locate it with rpm -ql workato-agent | grep -i activate.If the server uses a proxy, run the script with --help first to see the additional proxy parameters.
Linux only: Restart the agent service
The agent reads its certificate only when it starts. If the service is started or already running before activation completes, it keeps using the old certificate and Workato cannot contact it. Restart it after the new files exist.
Run these as your admin user with sudo, not from inside the workato shell. The workato account has no sudo rights, and systemctl will fail with an authentication error there.
sudo systemctl restart workato-agentsudo systemctl enable workato-agentsudo systemctl status workato-agentsudo journalctl -u workato-agent -n 50 --no-pager
The status should show active (running) with a start time of just now.
Step 4: Validate the New Agent
- Return to the Workato workspace and open the newly created agent.
- Select Test (or Retest agent if you tested earlier). Allow a minute after a restart for the agent to check in.
- Verify that the agent status displays as Active.
Check the Valid until date, which should be about one year out, and the agent Version.
- Select Done.
The existing OPA installation is now associated with the new agent and certificate.
Step 5: Remove the Old Agent
NOTE: You can also leave the old agent disabled for a few days as a fallback before deleting it.
- Locate the original agent in the Workato agent list.
- In the Version column, select the ellipsis (...).
- Select Delete Agent.
- Confirm the deletion.
Results
You have successfully renewed the Workato OPA certificate. Verify the renewal by confirming that:
- The new agent status is Active.
- Connections and recipes using the OPA function normally.
- A new certificate has been generated.
- The certificate expiration date is approximately one year from the generation date.
On Linux,
systemctl is-enabled workato-agentreturnsenabled, so the agent starts after a reboot.
Optional (Linux RPM): Upgrade the Agent at the Same Time
If you are also upgrading the agent, do it before the certificate steps, so the service needs only one clean restart afterward.
Stop the service:
sudo systemctl stop workato-agentUpgrade the package:
sudo yum upgrade workato-agent.x86_64Confirm the installed version:
rpm -q workato-agentStop the service again if the upgrade restarted it:
sudo systemctl stop workato-agentContinue with Step 2 (the service is already stopped).
The upgrade keeps your existing certificate directory. See the Workato documentation, Upgrade an agent, for details. Agents installed from a data-center-specific package (-eu, -sg, -jp, -au) must be replaced with the single package distribution, so contact Unimarket Support before upgrading those.
Limits and Notes
OPA certificates are valid for one year from the generation date.
Unimarket generates renewal notifications and support tickets 30 days before certificate expiration.
Certificate renewal can be completed by customer IT staff with appropriate Workato access, or by the Unimarket Integration team on behalf of the customer.
Renewing the certificate does not require an agent upgrade.
The Workato private key (
cert.key) is not available to Workato. Protect it and any backup copy from unauthorized access.Confirm install paths with
rpm -ql workato-agentif your server differs from the defaults above.
Troubleshooting (Linux RPM)
Symptom |
Cause |
Fix |
|---|---|---|
|
The |
Use |
|
Relative path used from the wrong directory |
Use the full path |
|
|
Type |
Service shows |
The service started before the new certificate files were created and is still using the old ones |
Confirm new |
Activation fails or the code is rejected |
The activation code expired (about one hour) or was already used |
Select Regenerate code in the Workato setup wizard and run the script again |
Permission denied on certificate files, or the service will not read them |
Files owned by the wrong user |
Run |
Test fails with connection errors, or the journal shows timeouts |
Firewall or allowlist blocking Workato |
Allow outbound port 443 to the Workato gateways ( |
Service times out on start, or native library errors in the journal |
Hardened host settings (for example, |
See the internal page "Workato OPA on Oracle Linux 9 (RPM) - Known Install/Upgrade Issues" |