Internal documentation only
This page has been marked as draft.
How do I modify my Cordial Geneos instance to run secure certificates
The Cordial Tool is a Geneos deployment program designed to help you set up and maintain your Geneos environment. Details of how this works contained in the below link.
https://github.com/ITRS-Group/cordial/tree/main/tools/geneos
The below link will cover a scenario for a clean non secure install of Geneos via the Cordial utility.
Geneos - How to do a new install of components using Cordial Geneos tool
Once a instance is running you can modify this to set up secure communication. Link for secure communication below.
Assuming you have created certificates and have them located in a directory you can use the following commands to set up your Geneos components to use these certificates
geneos set gateway certificate=/home/geneos/tls/certs/gw.pem
geneos set gateway certchain=/home/geneos/tls/certs/rootCA.pem
geneos set netprobe certificate=/home/geneos/tls/certs/np.pem
geneos set netprobe certchain=/home/geneos/tls/certs/rootCA.pem
geneos set licd certificate=/home/geneos/tls/certs/gw.pem
geneos set licd certchain=/home/geneos/tls/certs/rootCA.pem
geneos set gateway privatekey=/home/geneos/tls/certs/gw.key
You can then run the rebuild and restart commands to restart your gateway instance
geneos rebuild gateway
geneos restart gateway
And you can run commands to verify this
geneos logs -c gateway
geneos show gateway
For further troubleshooting the instance.xml file (this should never be edited) can also be located to verify the settings being used
This is usual located in the gateway/gateways/