How to update SSL certificate on Acura

How to update SSL certificate on Acura

Challenge

By default, Acura uses a self-signed SSL certificate for customer access to the UI. This approach might be considered a security risk in some cases, and in order to avoid  the corresponding warnings in the browser, the certificate can be updated manually.


Solution

To update the SSL certificate:
  1. Establish an ssh connection to Acura's instance with the username: user and the key pair created during deployment of Acura.
  2. Navigate to /tmp 
  3. In this folder, create two files certificate.pem and private.key containing the corresponding values of your desired pregenerated certificate and key.
  4. Execute the hx_update_nginx_ssl command from the same folder to update the certificate and key from the recently created files and add them to Acura's configuration.