Skip Navigation

Mono for Linux steps

The following steps use a CentOS 7.6 virtual machine with a user logged in as the root user.
  1. Follow the instructions on Mono Project's website: https://www.mono-project.com/download/stable/#download-lin. Install either the
    mono-devel
    or
    mono-complete
    package. Either mono package will allow you to complete the steps below.
  2. Open Terminal and change directories to the location where your certificate is stored.
    The certificate needs to be in PEM format.
    The certificate required is the one used to sign the certificate and key for your
    CylanceHYBRID
    virtual appliance.
  3. After changing directories, enter the cert-sync command:
    cert-sync <YOURCERTIFICATE>
    where <YOURCERTIFICATE> should be replaced with your certificate.
    Example Output: cert-sync rootCA.crt
  4. Mono stores the synced certificate to
    /usr/share/.mono/new-certs/Trust
    .
    When you install Mono for Linux, Mono will automatically insert its own certificates into the
    /new-certs/Trust
    directory. Because of this, it may be confusing which mono certificate is your newly synced certificate.
    To locate your target certificate, you can use
    ls -ltr
    to display the latest modified file at the bottom of the Terminal output. You can use your method of choice to differentiate your target certificate versus the other previously inserted certificates.
    Example:
    The red boxed certificate is the certificate that was synced using the above steps. All other certificates were inserted upon installation of Mono.
  5. On each Linux device that will use the appliance, create the following directory:
    /usr/share/.mono/new-certs/Trust
    This does not install Mono on the target machine; you are just manually creating the directory.
    Please be aware that there is a period, ".", in front of ".mono".
    Example method to create the directory:
    mkdir -p /usr/share/.mono/new-certs/Trust
  6. Copy the synced certificate to the directory you created in the previous step for all target Linux machines.