Installing SSL Certificates
Aspera strongly recommends installing valid, signed SSL certificates on your HST Server. The SSL certificates are uasperanoded and asperahttpd.
Requirements:
- A signed root certificate or certificate bundle (root certificate with chained or intermediary certificates) from an authorized Certificate Authority. For instructions on generating an SSL certificate, see Setting up SSL for your Nodes.
- The certificate is in .pem format. Other formats are not supported.
Procedure Overview:
The procedure modifies or creates three files:
- aspera_server_key.pem
-
- Created automatically during transfer server installation.
- Found in the default Aspera installation directory:
/opt/aspera/etc
- Contains the default private key.
- In this procedure, you replace the default private key with the new private key generated with the certificate signing request (CSR).
- aspera_server_cert.pem
-
- Created automatically during transfer server installation.
- Found in the default Aspera installation directory:
/opt/aspera/etc
- Contains the default self-signed certificate.
- In this procedure, you replace the default self-signed certificate with the content described in step 3.
- aspera_server_cert.chain
-
- You create this file, as described below.
- You place the file in the same directory as aspera_server_key.pem and aspera_server_cert.pem.
- You place the certificate bundle (chained or intermediary certificates) from the CA in this file.
Changing Filenames and Locations:
If desired, the default filenames and locations of the certificate files and chain files can be changed by configuring settings in the transfer server's aspera.conf file, using asconfigurator commands:
# asconfigurator -x "set_http_server_data;cert_file,path/certfile.pem"
# asconfigurator -x "set_http_server_data;key_file,path/keyfile.pem"
# asconfigurator -x "set_server_data;cert_file,path/certfile.pem"
Note: The chain file for asperanoded must match the location and name of the
asperanoded certificate file, but with the .chain
extension.
The commands add the following text to aspera.conf:
<http_server>
...
<key_file>path/keyfile.pem</key_file> <!-- key file for asperahttpd -->
<cert_file>path/certfile.pem</cert_file> <!-- cert file for asperahttpd -->
...
</http_server>
<server>
...
<cert_file>path/certfile.pem</cert_file> <!-- cert file for asperanoded -->
...
</server>
Installing the SSL Certificates: