Mono for Windows steps

The following steps use Windows 10 as an example.

Install Mono for Windows. For instructions, see the information on the Mono Project website.
  1. In the Start menu, right-click Open Mono x64 Command Prompt and select More > Run as administrator. For instructions, see the Mono documentation here.
  2. Change directories to the location where your certificate is stored.
    Note:
    • The certificate must be in Privacy-Enhanced Mail (PEM) format.
    • The certificate required is the one that was used to sign the certificate and the key for your CylanceHYBRID application.
  3. After you change directories, enter the cert-sync command:
    cert-sync <YOURCERTIFICATE>

    where YOURCERTIFICATE is your certificate.

    Example Output: cert-sync rootCA.crt

    Mono stores the synced certificates in the ProgramData directory: C:\ProgramData\.mono\new-certs\Trust

    The Mono certificate will look like this:

    To confirm that a Mono certificate is the correct certificate, open the file in a text editor and confirm that the subject and the fingerprint in the output match the subject and the fingerprint or thumbprint of the correct CA certificate.

  4. On each Linux device that will use the application, create the following directory:
    CODE
    /usr/share/.mono/new-certs/Trust

    Note that there is a period (.) before "mono".

    This step does not install Mono on the target machine; you are just manually creating the directory.

    Example method to create the directory:

    CODE
    mkdir -p /usr/share/.mono/new-certs/Trust
  5. For all Linux devices, copy the synced certificate to the directory that you created in the previous step.