To manipulate a trust store from the command line, use the following procedures.
Trusting a specific host
This is used when you want the Hub CLI to trust a specific Hub Server. Start with a new certificate; always copy cacerts unless you have another base trust store. A common mistake is to create a trust store that only trusts a single self-signed certificate which causes other problems.
...