Mono for Windows steps
The following steps use Windows 10 as an example.
- In the Start menu, right-click Open Mono x64 Command Prompt and select More > Run as administrator. For instructions, see the Mono documentation here.
- 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.
- 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.
- On each Linux device that will use the application, create the following directory:
CODE
/usr/share/.mono/new-certs/TrustNote 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:
CODEmkdir -p /usr/share/.mono/new-certs/Trust - For all Linux devices, copy the synced certificate to the directory that you created in the previous step.