Error: unable to verify the first certificate #3197

Open
opened 2026-02-16 17:39:04 -05:00 by yindo · 3 comments
Owner

Originally created by @zhuyuanmin on GitHub (Nov 28, 2025).

Description

Image

OpenCode version

latest

Steps to reproduce

  1. install
  2. paste passKey
  3. $ opencode
  4. input '111', and 'Enter'
  5. get error

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @zhuyuanmin on GitHub (Nov 28, 2025). ### Description <img width="414" height="70" alt="Image" src="https://github.com/user-attachments/assets/c624e979-6ed9-433a-b88e-8fa6107c8b7d" /> ### OpenCode version latest ### Steps to reproduce 1. install 2. paste passKey 3. $ opencode 4. input '111', and 'Enter' 5. get error ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 17:39:04 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 28, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #1694: Use local SSL trust store - Related SSL certificate verification error with internal corporate certs
  • #3130: SSL_CERT_FILE env not observed since v0.15.0 - SSL certificate handling issues
  • #3566: error: SELF_SIGNED_CERT_IN_CHAIN - Similar certificate chain validation error
  • #2992: HTTPThread: the CA is invalid - CA certificate validation issue
  • #640: opencode auth login issue with corporate proxy - SSL/proxy related authentication issues

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 28, 2025): This issue might be a duplicate of existing issues. Please check: - #1694: Use local SSL trust store - Related SSL certificate verification error with internal corporate certs - #3130: SSL_CERT_FILE env not observed since v0.15.0 - SSL certificate handling issues - #3566: error: SELF_SIGNED_CERT_IN_CHAIN - Similar certificate chain validation error - #2992: HTTPThread: the CA is invalid - CA certificate validation issue - #640: opencode auth login issue with corporate proxy - SSL/proxy related authentication issues Feel free to ignore if none of these address your specific case.
Author
Owner

@banboo3 commented on GitHub (Jan 22, 2026):

@zhuyuanmin Hi, may I ask how do you solve this issue?
I have a same one after reinstall new version

@banboo3 commented on GitHub (Jan 22, 2026): @zhuyuanmin Hi, may I ask how do you solve this issue? I have a same one after reinstall new version
Author
Owner

@yancgi commented on GitHub (Jan 22, 2026):

@banboo3 my solution can be found at a similar issue, here

@yancgi commented on GitHub (Jan 22, 2026): @banboo3 my solution can be found at a similar issue, [here](https://github.com/anomalyco/opencode/issues/8601#issuecomment-3784537664)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3197