hitrov / oci-arm-host-capacity

This script allows to bypass Oracle Cloud Infrastructure 'Out of host capacity' error immediately when additional OCI capacity will appear in your Home Region / Availability domain.
MIT License
899 stars 449 forks source link

error setting the certificate file #91

Closed ReedGraf closed 11 months ago

ReedGraf commented 11 months ago

The Error:

PHP Fatal error:  Uncaught Hitrov\Exception\CurlException: curl error occurred: error setting certificate file: ./cert/cacert.pem, response:  in C:\Users\username\oci-arm-host-capacity\src\HttpClient.php:31

I've already seen issue #45 and tried my best to follow the stack overflow but the output didn't change.

I'm clueless on how to resolve this issue and I'm hoping you can help. Thank you! ❤️

ReedGraf commented 11 months ago

Nvm just fiured it out. You can't use a relative path for the certificate like ./folder/certificate.pem. It has to be a direct path from the root of the drive as far as I know.