Mendix SDK - unable to get local issuer certificate
All, I am receiving this error while trying to run the sample SDK code from Mendix docs https://docs.mendix.com/apidocs-mxsdk/mxsdk/creating-your-first-script/ Any resolutions to overcome this error? Creating new app 'NewApp-1669663428870'... Error: Request failed, POST '/rest/projectservice/v1/projects' message: unable to get local issuer certificate at createInformativeError (C:\NEERUDU\MendixSDKWork\my-app-generator\node_modules\mendixplatformsdk\dist\utils\RestConnector.js:153:26) at doRequest (C:\NEERUDU\MendixSDKWork\my-app-generator\node_modules\mendixplatformsdk\dist\utils\RestConnector.js:141:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async RestConnector.awaitPlatformJob (C:\NEERUDU\MendixSDKWork\my-app-generator\node_modules\mendixplatformsdk\dist\utils\RestConnector.js:105:24) at async AppsClient.createNewApp (C:\NEERUDU\MendixSDKWork\my-app-generator\node_modules\mendixplatformsdk\dist\clients\AppsClient.js:32:27) at async MendixPlatformClient.createNewApp (C:\NEERUDU\MendixSDKWork\my-app-generator\node_modules\mendixplatformsdk\dist\MendixPlatformClient.js:17:23) at async main (C:\NEERUDU\MendixSDKWork\my-app-generator\script.js:7:17)
This SSL error occurs when the SSL/TLS client cannot verify the server's certificate due to the absence of the issuer's certificate in its trusted store. To resolve this, ensure the system time and date are accurate, update the trusted CA certificate bundle, explicitly specify the CA certificate if available, verify the certificate chain for completeness, and check for any network connectivity issues caused by firewalls or proxies. These steps will help address the SSL error "unable to get local issuer certificate" and enable successful establishment of secure connections.