API GET '/api/server/version' failed when connecting to https sonarqube

We’ve trying to run the job having code analysis on Sonarqube step in the MSBuild definition configured with the Sonarqube plugin (which points to the https://sq1. url, but keep getting this SQ error below.
##[error][SQ] API GET ‘/api/server/version’ failed, error was: {“code”:“UNABLE_TO_GET_ISSUER_CERT_LOCALLY”}

By searching online for resolution, we followed this technote and set the sys env variable to point to the ssl cert pem file exported from the windows browser, but still no vail. Any help is really appreciated!

System environment variable added and restart agent service:
NODE_EXTRA_CA_CERTS c:\agent\node-ca-certmgt\sq1.pem

Also restarted the azure agent after the env variable change above.

If anyone in the community knows how this issue can get resolved, please post back a reply, thank you!