bheisig / i-doit-cli

Access your CMDB on the command line interface
GNU Affero General Public License v3.0
13 stars 1 forks source link

unable to get local issuer certificate #29

Closed wernerflamme closed 4 years ago

wernerflamme commented 4 years ago

Expected behavior

When I issue "idoitcli cache", I expect idoitcli to fill the local cache.

Actual behavior

> idoitcli cache
Create cache files needed for faster processing
Clear cache files
Fetch list of object types
No proper configuration for i-doit API calls: Connection to Web server failed [60]: SSL certificate problem: unable to get local issuer certificate

Where has this certificate to be located? Do I have to provide the info in the config file? Does only the last issuer matter or do I need to provide the whole chain?

Steps to reproduce the behavior

Enter the command "idoitcli cache".

Environment

Question Answer
bheisig/idoitapi version 0.9
i-doit version 1.14.1 Revision 202011401 pro
i-doit API add-on version 1.10

Logs and other useful output

The only log I get is shown above.

wernerflamme commented 4 years ago

OK, I found it. All certificates in the chain need to be where your operating systems expects them to be.