Certificate verify failed [RUBY]

Hi all,

i know this seems to be more or less an issue with ruby but i need some advise.
If i execute inspec exec with an test stored on a weblocation i receive the Certificate verify failed error.
For example:
inspec exec https://myprofile.internal.cnb/profile.tar.gz

Now i tried adding the --insecure switch but it didnt helped , i still receive the certificate verify error.
Any idea how to solve it?
Or where do i have to store the certificate so that inspec will accept it?

Thanks for your advice!

Regards,
Markus