Enterprise 11: Import HTTPS and CA certificates

After installing Control Room, import a certificate for HTTPS or a Certificate Authority (CA) certificate using the command prompt.

Procedure

To import a CA or HTTPS certificate for configuring the Control Room for secure connection using the command prompt, perform the following steps:

  1. Run the command prompt in administrator mode.
  2. Go to the Automation Anywhere installation path using the CD command in the command prompt window: C:\Program Files\Automation Anywhere\Enterprise
    The default installation path is C:\Program Files\Automation Anywhere\Enterprise.
  3. Enter or paste the following command in the prompt:
    • For HTTPS certificate, enter following the command:

      jre\bin\java -jar certmgr.jar -appDir "C:\Program Files\Automation Anywhere\Enterprise" -setServerCert "certificate path\certificate-name.pfx" -privateKeyPass password

      For example, jre\bin\java -jar certmgr.jar -appDir "C:\Program Files\Automation Anywhere\Enterprise" -setServerCert "C:\Users\cradmin\Desktop\crcert.pfx" -privateKeyPass Ac_d!#%tH

      Password limitation: Do not use the @ special character in passwords. Using this character in the password causes the certificate file import to fail.
    • For CA certificate (Database):

      1. Enter the following command:

        jre\bin\java -jar certmgr.jar -appDir "C:\Program Files\Automation Anywhere\Enterprise" -importTrustCert "D:\<user name>\My Downloads\CA31.cer"

        />
      2. Add the following parameters to the boot.db.properties file in the config folder in the Automation Anywhere installation path.

        C:\Program Files\Automation Anywhere\Enterprise\config trustServerCertificate=false

  4. Restart the Automation Anywhere Control Room Reverse Proxy.
  5. If you have installed IQ Bot, follow the steps in this task to install the certificate: Reinstalling HTTPS and SSL certificates