| Managing the Node API | |
Setting up the Aspera Node API.
To set up the Aspera Node API, follow the instructions below. These instructions assumed that you have already installed Enterprise (or Connect) Server 3.0+.
Aspera's Web applications authenticate to the remote node service using a Node API username and password. The following command creates a Node API user/password and associates it with a file transfer user, asp1, which you will create in the next step. The Node API credentials can then be used to create nodes. Note that different nodes may use different Node API username/password pairs.
# /opt/aspera/bin/asnodeadmin -a -u node_api_username -p node_api_passwd -x asp1
The file transfer user authenticates the actual ascp transfer, and must be an operating system account on the node. To create a transfer user—for example, asp1—run the following command:
# useradd asp1
After you've created the operating system account, set up this user in Point-to-Point. For instructions on setting up a user, see Setting up Users.
The Aspera Node API provides an HTTPS interface for encrypted communication between node machines (on port 9092, by default). To modify the HTTPS port, see aspera.conf for Nodes. For information on maintaining and generating a new SSL certificate, see Setting up SSL for your Nodes.