Hello,
I have created the certificate using ssl related commands:
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
Then, I have renamed the .crt file into cacert.pem, and yes, it is in the same folder as the ocsinventory.ini file, and the log file.
Thank you for your help.
Regards, Valentin