Issue: When you run "remotebuild certificates generate" you encounter errors similar to:


/usr/local/lib/node_modules/remotebuild/node_modules/applicationinsights/AutoCollection/Exceptions.js:25
                    throw error;
                    ^
One or both of required CA files ~/.taco_home/remote-builds/certs/ca-key.pem and ~/.taco_home/remote-builds/certs/ca-cert.pem not found.


Causes: 

1. The generated identity does not match the one being accessed. In this case you need to reset and generate the certificates again.

2. Your RemoteBuild.config is corrupted or misconfigured. In this case you can delete the config file and run remotebuild again to create a correct configuration file


Solutions:

1. You can simply reset the certificates and generate them again by issuing:

remotebuild certificates reset
remotebuild certificates generate


2. You can delete your existing RemoteBuild.config and run "remotebuild" again:

rm ~/.taco_home/RemoteBuild.config
remotebuild


Make sure to answer "n" (no) to ALL remotebuild prompts. The reason is that brew, cordova, and all the tools you need for "remotebuild" are already installed. Do not attempt to reinstall those tools on your managed server account as you do not have administrator/root/sudo access. Please contact our support if you need more assistance.