Repository navigation
Description
Description
After running the command opencode auth login in the Windows cmd interface, when selecting the GitHub Copilot provider and choosing the first option (github.com), the error "unable to verify the first certificate" appears.
Plugins
oh-my-opencode
OpenCode version
1.1.31
Steps to reproduce
1.open cmd interface
2.run“opencode auth login”
3.select github copilot
4.select github.com
5.the error "unable to verify the first certificate" appears.
Screenshot and/or share link
NFO 2026-01-22T07:21:23 +362ms service=default version=1.1.31 args=["auth","login"] opencode
INFO 2026-01-22T07:21:23 +1ms service=default directory=E:\project\listtodo\listtodo creating instance
INFO 2026-01-22T07:21:23 +0ms service=project directory=E:\project\listtodo\listtodo fromDirectory
INFO 2026-01-22T07:21:24 +129ms service=models.dev file={} refreshing
INFO 2026-01-22T07:21:25 +1169ms service=config path=C:\Users\34861.config\opencode\config.json loading
INFO 2026-01-22T07:21:25 +1ms service=config path=C:\Users\34861.config\opencode\opencode.json loading
INFO 2026-01-22T07:21:25 +14ms service=config path=C:\Users\34861.config\opencode\opencode.jsonc loading
INFO 2026-01-22T07:21:25 +5ms service=bun cmd=["C:\Users\34861\AppData\Roaming\npm\node_modules\opencode-ai\node_modules\opencode-windows-x64\bin\opencode.exe","add","@opencode-ai/plugin@1.1.31","--exact"] cwd=C:\Users\34861.config\opencode running
INFO 2026-01-22T07:21:25 +11ms service=config path=E:\project\listtodo\listtodo.opencode\opencode.jsonc loading
INFO 2026-01-22T07:21:25 +0ms service=config path=E:\project\listtodo\listtodo.opencode\opencode.json loading
INFO 2026-01-22T07:21:25 +1ms service=bun cmd=["C:\Users\34861\AppData\Roaming\npm\node_modules\opencode-ai\node_modules\opencode-windows-x64\bin\opencode.exe","add","@opencode-ai/plugin@1.1.31","--exact"] cwd=E:\project\listtodo\listtodo.opencode running
INFO 2026-01-22T07:21:25 +5ms service=config path=C:\Users\34861.opencode\opencode.jsonc loading
INFO 2026-01-22T07:21:25 +0ms service=config path=C:\Users\34861.opencode\opencode.json loading
INFO 2026-01-22T07:21:25 +0ms service=bun cmd=["C:\Users\34861\AppData\Roaming\npm\node_modules\opencode-ai\node_modules\opencode-windows-x64\bin\opencode.exe","add","@opencode-ai/plugin@1.1.31","--exact"] cwd=C:\Users\34861.opencode running
INFO 2026-01-22T07:21:25 +14ms service=models.dev file={} refreshing
INFO 2026-01-22T07:21:25 +24ms service=bun code=0 stdout=bun add v1.3.5 (1e86cebd)
installed @opencode-ai/plugin@1.1.31
[18.00ms] done
stderr=Saved lockfile
done
INFO 2026-01-22T07:21:25 +0ms service=bun cmd=["C:\Users\34861\AppData\Roaming\npm\node_modules\opencode-ai\node_modules\opencode-windows-x64\bin\opencode.exe","install"] cwd=C:\Users\34861.config\opencode running
INFO 2026-01-22T07:21:25 +8ms service=bun code=0 stdout=bun add v1.3.5 (1e86cebd)
installed @opencode-ai/plugin@1.1.31
[19.00ms] done
stderr=Saved lockfile
done
INFO 2026-01-22T07:21:25 +0ms service=bun cmd=["C:\Users\34861\AppData\Roaming\npm\node_modules\opencode-ai\node_modules\opencode-windows-x64\bin\opencode.exe","install"] cwd=E:\project\listtodo\listtodo.opencode running
INFO 2026-01-22T07:21:25 +4ms service=bun code=0 stdout=bun add v1.3.5 (1e86cebd)
installed @opencode-ai/plugin@1.1.31
[20.00ms] done
stderr=Saved lockfile
done
INFO 2026-01-22T07:21:25 +0ms service=bun cmd=["C:\Users\34861\AppData\Roaming\npm\node_modules\opencode-ai\node_modules\opencode-windows-x64\bin\opencode.exe","install"] cwd=C:\Users\34861.opencode running
INFO 2026-01-22T07:21:25 +31ms service=bun code=0 stdout=bun install v1.3.5 (1e86cebd)
Checked 3 installs across 4 packages (no changes) [14.00ms]
stderr= done
INFO 2026-01-22T07:21:25 +5ms service=bun code=0 stdout=bun install v1.3.5 (1e86cebd)
Checked 3 installs across 4 packages (no changes) [16.00ms]
stderr= done
INFO 2026-01-22T07:21:25 +6ms service=bun code=0 stdout=bun install v1.3.5 (1e86cebd)
Checked 3 installs across 4 packages (no changes) [16.00ms]
stderr= done
INFO 2026-01-22T07:21:29 +4070ms service=plugin name=CodexAuthPlugin loading internal plugin
INFO 2026-01-22T07:21:29 +0ms service=plugin name=CopilotAuthPlugin loading internal plugin
INFO 2026-01-22T07:21:29 +1ms service=plugin path=oh-my-opencode loading plugin
INFO 2026-01-22T07:21:29 +1ms service=bun pkg=oh-my-opencode version=latest installing package using Bun's default registry resolution
INFO 2026-01-22T07:21:29 +0ms service=bun cmd=["C:\Users\34861\AppData\Roaming\npm\node_modules\opencode-ai\node_modules\opencode-windows-x64\bin\opencode.exe","add","--force","--exact","--cwd","C:\Users\34861\.cache\opencode","oh-my-opencode@latest"] cwd=C:\Users\34861.cache\opencode running
INFO 2026-01-22T07:21:40 +10996ms service=bun code=0 stdout=bun add v1.3.5 (1e86cebd)
- @gitlab/opencode-gitlab-auth@1.3.2
- opencode-anthropic-auth@0.0.9
installed oh-my-opencode@2.14.0 with binaries:
- oh-my-opencode
176 packages installed [10.95s]
stderr=Resolving dependencies
Resolved, downloaded and extracted [1]
Saved lockfile
done
INFO 2026-01-22T07:21:41 +1090ms service=plugin path=opencode-anthropic-auth@0.0.9 loading plugin
INFO 2026-01-22T07:21:41 +41ms service=plugin path=@gitlab/opencode-gitlab-auth@1.3.2 loading plugin
ERROR 2026-01-22T07:21:45 +4361ms service=default name=Error message=unable to verify the first certificate fatal
Operating System
windows11 family-version24h2
Terminal
windows-terminal
Activity
github-actions commentedon Jan 22, 2026
This issue might be a duplicate of existing issues. Please check:
These all relate to certificate verification errors during authentication. Feel free to ignore if your specific case differs from these issues.