Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do you fix UNABLE_TO_GET_ISSUER_CERT_LOCALLY

Prabu N September 18, 2024

I am able to deploy after setting "set NODE_TLS_REJECT_UNAUTHORIZED=0". But during tunnelling, i get below error.

FetchError: request to https://jira/rest/api/3/myself failed, reason: unable to get local issuer certificate at ClientRequest. (webpack://jira-global-page-ui-kit/node_modules/node-fetch/lib/index.mjs:1495:1) at ClientRequest.emit (node:events:531:35) at emitErrorEvent (node:_http_client:108:11) at TLSSocket.socketErrorListener (node:_http_client:511:5) at TLSSocket.emit (node:events:531:35) at emitErrorNT (node:internal/streams/destroy:169:8) at emitErrorCloseNT (node:internal/streams/destroy:128:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { type: 'system', errno: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY', code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY' }

It works fine in personal laptop. But not in office laptop (zscaler/firewall might be the reason). But I would like to know how we can resolve this.

I saw there was a suggestion to add NODE_EXTRA_CA_CERTS to env variable I did with a CER file i found under trusted certificates. But still facing same error.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events