Mono for Linux steps
Mono
for Linux
steps- You must complete the following steps in a root shell.
- Install either themono-develormono-completepackage. For instructions, see the information on the Mono Project website. EitherMonopackage will allow you to complete the steps below.
- Open Terminal and change directories to the location where your certificate is stored.
- 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 yourCylanceHYBRIDapplication.
- After you change directories, enter the cert-sync command:cert-sync <YOURCERTIFICATE>where<YOURCERTIFICATE>is your certificate.Example Output: cert-sync rootCA.crt
- Monostores the synced certificate to/usr/share/.mono/new-certs/Trust.When you installMonofor Linux,Monoautomatically inserts its own certificates into the/new-certs/Trustdirectory.To locate your target certificate, you can usels -ltrto display the latest modified file at the bottom of the Terminal output. You can use your method of choice to differentiate your target certificate from the other previously inserted certificates.Example:The certificate highlighted in the red box is the certificate that was synchronized using the above steps. All other certificates were inserted upon installation ofMono.
- To confirm that aMonocertificate is the correct certificate, view the contents of the certificate file using the following command:cat /usr/share/.mono/new-certs/Trust/<filename>For example:
Confirm that the subject and the fingerprint in the output match the subject and the fingerprint or thumbprint of the correct CA certificate.cat /usr/share/.mono/new-certs/Trust/44ff1262.0 - In eachLinuxdevice that will use the application, create the following directory:/usr/share/.mono/new-certs/TrustNote that there is a period (.) before "mono".This step does not installMonoon the target machine; you are just manually creating the directory.Example method to create the directory:mkdir -p /usr/share/.mono/new-certs/Trust
- For allLinuxdevices, copy the synced certificate to the directory that you created in the previous step.