KB Article #70120

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

Problem

This KB will help in the following scenarios:


A Transfer Site needs to be re-created or re-configured, but the remote server password is unknown or lost.


The password configured for a Transfer Site needs to be verified because authentication errors are observed when the Site runs.


Resolution

1. Retrieve the Transfer Site details using the SecureTransport API v2.0


To retrieve a Transfer Site associated with an account, run:

curl -ku 'ADMINUSER:ADMINPASS' -X 'GET' 'https://SERVER:ADMIN_PORT/api/v2.0/sites?account=ACCOUNT&name=SITENAME'


Where:

ADMINUSER:ADMINPASS are the administrator's credentials
SERVER is the SecureTransport 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 contain a line similar to:

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


3. Copy the AES-encrypted value and store it in a text file.


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