I have version 9.0 update 2 and am working with the sample JSS app. I used the this same app on an earlier environment which was setup as Standalone and had no issues. This is a remote deploy to a scaled environment. When I attempt the command -jss deploy items - I get the following error.
Unexpected response from import service: Error: unable to get local issuer certificate
This is the scjssconfig.json file I am currently using.
{
"sitecore": {
"instancePath": "C:\\sc9_install\\my-sitecore-jss",
"apiKey": "{00000000-0000-0000-0000-000000000000}",
"deploySecret": "",
"deployUrl": "https://sitecore-scaled/sitecore/api/jss/import",
"layoutServiceHost": "my-sitecore-jss"
}
}