The deploy script is unable to build trust and fails with error:

Failed to authenticate with PrivX: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get issuer certificate (_ssl.c:1108)


The PrivX instance is running in Amazon and the TLS certificate is provided by AWS CA (e.g. using AWS ALB).


  1. Prepend Amazon Root CA certificate to the trust achor certificate chain
  2. Run /opt/privx/scripts/ update-trust /path/to/ca_chain.crt
  3. Restart PrivX service
  4. Redownload the deploy script