How To Install Automation Suite Using My Signed Certs?

How to install Automation Suite using the signed certs from the beginning?

Description:
When the Automation Suite is installed by default, the system will generate a self-signed certificate.

It is recommended to use the signed certificate for security reasons, so if there are own certificates, place the location of these certificates in the cluster_config.json file before installing and, instead of generating a self-signed certificate, the installer will use the signed certificates.


Resolution:

  1. Automation suites require the following certificate files:
  • rootca.cer
  • serverCertificate.cer
  • serverkey.pem

Note: The certificate could be .pem and the key could be .key.

  1. When these files are ready in the Linux server, use the following script as a template and replace the location where the certs are in the server.

"server_certificate": {

"ca_cert_file": "/opt/UiPathAutomationSuite/ca.crt",

"tls_cert_file": "/opt/UiPathAutomationSuite/server.crt",

"tls_key_file": "/opt/UiPathAutomationSuite/server.key"

},

  1. Move to the installation folder: /opt/UiPathAutomationSuite, locate the cluster_config.json file and modify it, add this code in the cluster config.

  1. When this is done, run the installer and when the installation is complete, have the signed certs installed in Automation Suite.