Hey Marcos,
Check out Nico’s response here, which echoes your deduction: TFS buid server cannot connect to teh SonarQube server over SSL
You might try using the NODE_EXTRA_CA_CERTS
environment variable and setting it to a file with your root cert (I’ll admit my detailed knowledge of this is a little lacking, but this should get you on the right path).
Colin