Deploy certificates to iQ 4 devices

You can deploy CA certificates and user certificates to SMART iQ devices (Android 13 or later) by creating a workflow in SMART Remote Management (SRM). This process includes uploading certificate files, creating Remote Exec commands, and organizing them in the correct sequence.

Use this procedure when you need to install certificates for secure Wi-Fi, EAP authentication, or other trust-based services in your environment.

Before you begin

Make sure you have the following:

  • Intermediate CA certificate file (for example, IntermediateCA.crt)

  • Root CA certificate file (for example, RootCA.crt)

  • User certificate and private key bundled as a .pfx file

  • The export password used when creating the .pfx file

  • Your user account has permission in SRM to create commands and workflows

  • A device group or tag that identifies the target devices

Best practices:

  • Install CA certificates before installing any user or Wi-Fi certificates.

  • Use clear, consistent file names (for example, RootCA.crt, UserCert.pfx).

  • Store certificate files securely and rotate them according to your organization’s policy.

  • Test the workflow on a small set of devices before deploying at scale.

To upload certificate files

  1. Click DeploymentthenFiles.

    The Files window opens.

  2. Click Add New.

  3. Select Upload file as the upload method and enter a name for the certificate file.

  4. In the destination field enter the path /sdcard/Download.

  5. Click Confirm.

  6. Repeat these steps to upload all the necessary certificate files.

To create a remote execution command for each certificate

  1. Click Commands & Scripts.

    The Commands & Scripts window appears.

  2. Click Add New.

    The New remote execution window appears.

  3. In the Name box, give the command a clear name (for example, Install Intermediate CA).

  4. Select Command line.

  5. Enter the following details:

    • For Command, enter smartcli.

    • For Arguments, enter:

      Copy
      cert install_ca /sdcard/Download/<Certificate file>.crt [--delete_file true] [--for_all_users true]

      Where:

      • <Certificate file> is the name of the Intermediate CA certificate file you previously uploaded.

      • Optional--delete_file specifies whether the certificate file should be deleted (true by default)

      • Optional--for-all-users specifies whether the certificate should be installed for all signed-in users (false by default)

  6. Select the following check boxes.

    Check box

    Select to

    Notes

    Wait for exit

    Allow the system to wait for the command’s execution to finish before reporting the result.

    This is critical for commands that depend on completion confirmation before subsequent actions can occur.

    Collect output

    Collect and return the output of the command as part of the command results.

    This provides administrators with essential feedback and diagnostics, improving troubleshooting and verifying command success.

    Run with high privileges

    Execute the command with elevated local device permissions.

    This ensures compatibility with commands requiring administrative privileges, especially for critical device or system changes.

  7. OptionalTurn on Set as private to mark the command as private so it is only visible to the creator of the command. This enhances control over sensitive commands, promoting user privacy and security.

  8. Click Confirm.

    The remote execution command is added to the repository.

  9. Repeat the previous steps to create a command for the Root CA certificate, using the same command and arguments but changing the Certificate file name in the argument to the name of the Root CA file you previously uploaded.

  10. Repeat steps 1-8 to create a command for the user certificate and private key. This time, use the following details:

    • For Command, enter smartcli.

    • For Arguments, enter:

      Copy
      cert install_wifi /sdcard/Download/<Certificate file>.pfx --cert_password <Your password>

      Where:

      • <Certificate file> is the name of the certificate file you previously uploaded.

      • <Your password> is the export password used when generating the .pfx file.

To create a certificate installation workflow

  1. Click AutomationthenWorkflows.

    The Workflows window opens.

  2. Click Add New.

  3. Type a name and description for the workflow in the Workflow name and Workflow description boxes.

  4. Click Commands.

  5. Click Add command.

  6. Add the following items in this exact order:

    1. Intermediate CA certificate file (you will find this under the Send file option)

    2. Install Intermediate CA remote execute command

    3. Root CA certificate file

    4. Install Root CA remote execute command

    5. User certificate file

    6. Install user certificate remote execute command

    Important 

    To ensure success, it is important that these actions appear in this order in the workflow.

  7. Click Confirm.

To deploy the workflow

  1. Click Devices to open the Devices view.

  2. Choose one of the following options:

    Option

    Steps

    Send to a single device

    1. Click the device’s row.

      The device’s dashboard window appears.

    2. Click Repositories actions, and then click Remote Execute.

      The Remote execute window appears.

    3. Select a command or script from the list and click Apply.

    Send to devices that match a saved filter

    1. Click Filters to open the filters panel and then click Browse saved.

    2. Click Actions in the saved filter’s row and select AutomatethenWorkflows.

      The Workflow window appears.

    3. Select the workflow you created in the previous procedure and click Apply.

    Send to devices in a group

    1. If the groups panel isn’t visible, click Groups.

    2. Click Actions in the group’s row and select AutomatethenWorkflows.

      The Workflow window appears.

    3. Select the workflow you created in the previous procedure and click Apply.

  3. Verify the certificate installation on the device by going to the device and tapping SettingsthenSecuritythenEncryption & Credentials. Confirm that:

    • The Intermediate CA and Root CA certificates appear under Trusted credentials.

    • The user certificate appears under User credentials and is available for Wi-Fi authentication.