Skip to content

[BUG] Unknown certificate verification error behind corporate proxy #79

@tshu-w

Description

@tshu-w

Bug Description
A clear and concise description of the bug.

Steps to Reproduce

  1. Install plugin as described
  2. NODE_TLS_REJECT_UNAUTHORIZED=0 opencode run "nihao" --model openai/gpt-5.2-none

Expected Behavior
opencode works fine as codex.

Actual Behavior
Error: Error: unknown certificate verification error

Environment

  • opencode version: 1.0.198
  • Plugin version: v4.2.0
  • Operating System: macOS
  • Node.js version: v25.2.1

Logs
If applicable, attach logs from ~/.opencode/logs/codex-plugin/ (enable with ENABLE_PLUGIN_REQUEST_LOGGING=1)

Compliance Checklist
Please confirm:

  • I'm using this plugin for personal development only
  • I have an active ChatGPT Plus/Pro subscription
  • This issue is not related to attempting commercial use or TOS violations
  • I've reviewed the FAQ and Troubleshooting sections

Additional Context
Add any other relevant information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions