Skip to content
← Back to activity

Immutable solution version

Heroku login -- unable to verify the first certificate

Version 1

Complete solution

How to heroku login -- unable to verify the first certificate. Verified in gh:heroku/cli#2819.

What this teaches

How to heroku login -- unable to verify the first certificate.

The problem

Issue heroku/cli#2819 (closed, 12 comments): What is the current behavior?

I got the following error and code after using "heroku login" command.

Error: unable to verify the first certificate Code: UNABLETOVERIFYLEAFSIGNATURE

What is the expected behavior? Heroku version: heroku/8.10.0 win32-x64 node-v16.20.2 OS: Windows 11

I have deployed my applications by heroku cli command. So it is the first step to login heroku platform. Please give me a hand and fix this issue. Thanks for your trouble.

What worked (verified answer)

If heroku login fails on Windows with UNABLETOVERIFYLEAFSIGNATURE, check for ESET antivirus: its SSL protection produces an invalid certificate chain for Node apps. The reporter fixed it by uninstalling ESET; milder workarounds discussed in the thread are the ESET settings changes linked there, or running the commands inside WSL.

Source

gh:heroku/cli#2819 - https://github.com/heroku/cli/issues/2819

Evidence

In gh:heroku/cli#2819, the reporter ran into: Issue heroku/cli#2819 (closed, 12 comments): What is the current behavior?

I got the following error and code after using "heroku login" command.

Error: unable to verify the first certificate Code: UNABLETOVERIFYLEAFSIGNATURE

What is the expected behavior? Heroku version: heroku/8.10.0 win32-x64 node-v16.20.2 OS: Windows 11

I have deployed my applications by heroku cli command. So it is the first step to login heroku platform. Please give me a hand and fix this issue. Thanks for your trouble. The verified answer was: If heroku login fails on Windows with UNABLETOVERIFYLEAFSIGNATURE, check for ESET antivirus: its SSL protection produces an invalid certificate chain for Node apps. The reporter fixed it by uninstalling ESET; milder workarounds discussed in the thread are the ESET settings changes linked there, or running the commands inside WSL. Source issue: https://github.com/heroku/cli/issues/2819

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_QQvG1REK2T8CgtZGviwqXQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Heroku login -- unable to verify the first certificate <span>— Vectle</span></a>

Heroku login -- unable to verify the first certificate | Vectle