KB Article #70120

TRANSFER SITES: Obtain the remote server password used in a Transfer Site

Problem

This KB will help in the following scenarios:


Need to re-create or re-configure a Transfer Site, but the remote server password is unknown or lost.


Need to verify that the password used in a Transfer Site is correct, since authentication errors are observed, when the Site runs.


Resolution

1. Obtain the Transfer Site's details via the RestAPI. Example with cURL is shown below:


curl -k --user ADMINUSER:ADMINPASS -X GET -H "Accept: application/json" "https://SERVER:ADMIN_PORT/api/v1.0/sites?account=ACCOUNT&name=SITENAME"


ADMINUSER:ADMINPASS are the administrator's credentials
SERVER is the ST server's address
ADMIN_PORT is the port for the admin service, by default 444
ACCOUNT is the name of the account that holds the Transfer Site
SITENAME is the name of the Transfer Site


2. The result will hold a line, similar to this:


"password": "{AES128}QYC5QcfT71qWP1pR9Ez10w==",


3. Copy the AES hash and store it in a text file.


4. Use the aesdec tool as explained in KB 179327 to decode the hash and obtain the Transfer Site password in plain text.