HSTS deployment and configuration
Deploy and configure HSTS
To deploy HSTS you will need a virtual or physical system, a CA generated certificate, and the HSTS deployment and configuration scripts. You can deploy it using automation scripts or manual steps.
Automation script deployment
- Download IBM Aspera High-Speed Transfer Server.
- Download/request an Aspera Enterprise license and place it in the aspera-license folder.
- Copy the following files into a directory (can be any location as long as the files are in the
same folder) of the target system where HSTS will be installed:
- Aspera license file (aspera-license)
- HSTS installer package (rpm, deb)
- Certificates (tls.crt, tls.key)
- Log in to target system and run the following script to deploy
HSTS:
Alternatively, you can run this setup on a remote machine using./hstsctl-linux setup -l <location of packages, license and certificate> -n <node_user> -u <non_root_user> -p <desired HSTS node server password> e.g. ./hstsctl-linux setup -l /root -n node001 -u xfer -p testpassword1234remote-run:Note: In this case, the-lflag represents the location of the packages, license, and certificate on your current machine, not the target machine.remote-runwill transfer the files to the remote machine../hstsctl-macos setup remote-run -l <location of packages, license and certificate> -u <non_root_user> -n <HSTS_node_user> -p <HSTS_node_password> -H <remote hostname to SSH into> -U <SSH username> -P <SSH password> e.g. ./hstsctl-macos setup -l /root -n node001 -u xfer -H 1.23.45.678 -p desiredhstspassword12 -U root -P rootpasswordImportant: Thehstsctl-macosandhstsctl-linuxbinaries are both required when usingremote-runfrom macOS. Thehstsctl-macosbinary will copy thehstsctl-linuxbinary to the remote machine and execute it there.
Configure HSTS for AEJD
- Go to Admin > Integration > Aspera node services > Create new to get a registration token.
- Run the following script to configure HSTS to get events from HSTS to
AEW:
./hstsctl-macos aejd remote-run -H <HSTS host> -t <Registration token> -U <ssh_user> -P <ssh_password> -o -s <Fully qualified "IBM Aspera Enterprise Webapps" domain name> e.g. ./hstsctl-macos aejd remote-run -H hsts.99599.asperatest.net -U root -P rootpassword -s demo.asperatest.net -t gmwbdfpkrmykyorhracseazkkzdlarfu -oImportant: If you enabled custom certificates usingasctl enableCustomCert(with or without a PEM path), runhstsctl aejdwith either-kor--insecure, for example:./hstsctl-macos aejd remote-run -H hsts.99599.asperatest.net -U root -P rootpassword -s demo.asperatest.net -t gmwbdfpk -k