Setting the path to a cacert.pem file?

While using the MBS Curl plugin, I set the path this way:

c.OptionCAInfo = cacert.NativePath

Which works fine, as long as the path contains no spaces. But if any of the folders have a space, it breaks the load and give an error 77. ShellPath was no better.

Even setting it directly to “/cacert.pem” gives the same error 77.

Ideally, I’d like to embed the cacert file and not mess with a separate file at all if possible.